-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(volatile): return t, not result of memq
- Loading branch information
Showing
4 changed files
with
11 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
PACKAGE_NAME=bydi | ||
|
||
CURRENT_PACKAGE_VERSION=0.6.2 | ||
CURRENT_PACKAGE_VERSION=0.6.3 | ||
|
||
include dinghy/emacs-package.mk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
|
||
;; Author: Krister Schuchardt <[email protected]> | ||
;; Homepage: https://github.com/Walheimat/bydi | ||
;; Version: 0.6.2 | ||
;; Version: 0.6.3 | ||
;; Package-Requires: ((emacs "29.1")) | ||
;; Keywords: extensions | ||
|
||
|
@@ -449,7 +449,7 @@ Optionally, return RETURN." | |
|
||
(defun bydi-mock--volatile (fun) | ||
"Check if FUN should return t." | ||
(memq fun bydi-mock--always)) | ||
(and (memq fun bydi-mock--always) t)) | ||
|
||
(defun bydi-mock--check (fun instruction) | ||
"Verify binding FUN using INSTRUCTION." | ||
|