[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] Added debug missing declaration.
From: |
Stefan-W. Hahn |
Subject: |
[PATCH] Added debug missing declaration. |
Date: |
Tue, 27 Oct 2015 20:40:43 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
* Missed debug declaration added to bound-and-true-p.
(Tiny change)
---
lisp/bindings.el | 1 +
1 file changed, 1 insertion(+)
If debugging a form which uses bound-and-true-p on a function not yet
loaded I got the error:
Wrong type argument: symbolp, (edebug-after 0 59 org-indent-mode)
With kind regards,
Stefan
diff --git a/lisp/bindings.el b/lisp/bindings.el
index 8560871..e1206ba 100644
--- a/lisp/bindings.el
+++ b/lisp/bindings.el
@@ -494,6 +494,7 @@ mode-line-previous-buffer
(defmacro bound-and-true-p (var)
"Return the value of symbol VAR if it is bound, else nil."
+ (declare (debug (symbolp)))
`(and (boundp (quote ,var)) ,var))
;; Use mode-line-mode-menu for local minor-modes only.
--
2.5.0.rc3.2.g6f9504c
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH] Added debug missing declaration.,
Stefan-W. Hahn <=