[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/with-simulated-input e7cc96e7df 102/134: Update the debug
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/with-simulated-input e7cc96e7df 102/134: Update the debug declaration for "with-simulated-input" macro |
Date: |
Mon, 10 Jan 2022 23:00:09 -0500 (EST) |
branch: elpa/with-simulated-input
commit e7cc96e7df972da916529f1c7c9d37d985c2eacf
Author: Ryan C. Thompson <rct@thompsonclan.org>
Commit: Ryan C. Thompson <rct@thompsonclan.org>
Update the debug declaration for "with-simulated-input" macro
---
with-simulated-input.el | 19 +++++++++++--------
1 file changed, 11 insertions(+), 8 deletions(-)
diff --git a/with-simulated-input.el b/with-simulated-input.el
index 0649d744a8..4a714c56d7 100644
--- a/with-simulated-input.el
+++ b/with-simulated-input.el
@@ -177,12 +177,16 @@ are propagated normally.
The return value is the last form in BODY, as if it was wrapped
in `progn'."
- (declare (indent 1) (debug ([&or ("quote" (&rest &or stringp def-form))
- (&rest &or stringp def-form)
- ;; TODO Is this redundant with symbolp?
- "nil"
- stringp symbolp]
- def-body)))
+ (declare
+ (indent 1)
+ (debug ([&or ("quote" (&rest &or stringp def-form)) ; quoted list of
string-or-form
+ (&rest &or stringp def-form) ; un-quoted same
+ stringp symbolp ; literal string; variable name (or
nil)
+ ([&or functionp macrop] &rest form) ; arbitrary lisp function
call
+ ]
+ def-body)))
+ ;; TODO Warn on empty body
+ ;; TODO Support integers (i.e. single characters) in KEYS
(cond
((null keys)
;; (message "Keys is nil")
@@ -215,8 +219,7 @@ in `progn'."
((and (listp keys)
(not (eq (car keys) 'quote))
(or (functionp (car keys))
- (macrop (car keys))
- (subrp (indirect-function (car keys)))))
+ (macrop (car keys))))
;; (message "Keys is lisp form: %S" keys)
`(let ((evaluated-keys (,@keys)))
;; (message "Evaluated keys: %S" evaluated-keys)
- [nongnu] elpa/with-simulated-input 4e45836cc0 078/134: Autoload `with-simulated-input--1', (continued)
- [nongnu] elpa/with-simulated-input 4e45836cc0 078/134: Autoload `with-simulated-input--1', ELPA Syncer, 2022/01/10
- [nongnu] elpa/with-simulated-input 89e63ebf6a 073/134: Fix tests for older Emacsen, ELPA Syncer, 2022/01/10
- [nongnu] elpa/with-simulated-input 0aeff5f17f 079/134: `with-simulated-input': remove legacy syntax, ELPA Syncer, 2022/01/10
- [nongnu] elpa/with-simulated-input 6f7787df80 082/134: Add an unload function, ELPA Syncer, 2022/01/10
- [nongnu] elpa/with-simulated-input 26fc928f42 092/134: Work around an incompatibility in Emacs 24 in tests, ELPA Syncer, 2022/01/10
- [nongnu] elpa/with-simulated-input ef9d5164ca 094/134: Fix interpolation test, ELPA Syncer, 2022/01/10
- [nongnu] elpa/with-simulated-input d3696fb04c 098/134: Check errors more strictly in tests, ELPA Syncer, 2022/01/10
- [nongnu] elpa/with-simulated-input 703fc3c9ec 118/134: Update the docstring for "with-simulated-input", ELPA Syncer, 2022/01/10
- [nongnu] elpa/with-simulated-input 73fa2256df 123/134: Move helper function next to macro, ELPA Syncer, 2022/01/10
- [nongnu] elpa/with-simulated-input 708051c57f 105/134: Improve error messages for invalid/incomplete KEYS, ELPA Syncer, 2022/01/10
- [nongnu] elpa/with-simulated-input e7cc96e7df 102/134: Update the debug declaration for "with-simulated-input" macro,
ELPA Syncer <=
- [nongnu] elpa/with-simulated-input 2f54a2550b 117/134: Clean up code for "with-simulated-input" macro, ELPA Syncer, 2022/01/10
- [nongnu] elpa/with-simulated-input a86f35f3b0 100/134: Add tests for un-quoted lists, ELPA Syncer, 2022/01/10
- [nongnu] elpa/with-simulated-input 07bdfbe9ab 124/134: Increment version to 3.0, ELPA Syncer, 2022/01/10
- [nongnu] elpa/with-simulated-input 670c23e615 004/134: Update minimum Emacs version to 24.4, ELPA Syncer, 2022/01/10
- [nongnu] elpa/with-simulated-input c97f27da20 005/134: Autoload the macro, ELPA Syncer, 2022/01/10
- [nongnu] elpa/with-simulated-input 369ca97402 006/134: Fix issues found by package-lint, ELPA Syncer, 2022/01/10
- [nongnu] elpa/with-simulated-input 00ed837502 012/134: Standardize on internal Emacs time type, ELPA Syncer, 2022/01/10
- [nongnu] elpa/with-simulated-input f0dbf2fdd9 017/134: Fix a typo, ELPA Syncer, 2022/01/10
- [nongnu] elpa/with-simulated-input 69d91e4b51 025/134: Add a failing test for lexical variable access, ELPA Syncer, 2022/01/10
- [nongnu] elpa/with-simulated-input 9efeb236c8 028/134: Version 2.2, ELPA Syncer, 2022/01/10