mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
(mail-source-value):
Prefer fboundp to functionp so it works with macros as well.
This commit is contained in:
parent
49ec893114
commit
e66d87717a
2 changed files with 6 additions and 2 deletions
|
|
@ -500,8 +500,7 @@ See `mail-source-bind'."
|
|||
((stringp value)
|
||||
value)
|
||||
;; Function
|
||||
((and (listp value)
|
||||
(functionp (car value)))
|
||||
((and (listp value) (symbolp (car value)) (fboundp (car value)))
|
||||
(eval value))
|
||||
;; Just return the value.
|
||||
(t
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue