projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91c3a27
)
EUDC: Fix a void-variable error
author
Brent Westbrook
<bwestbr2@go.olemiss.edu>
Sat, 19 Nov 2022 14:23:57 +0000
(09:23 -0500)
committer
Thomas Fitzsimmons
<fitzsim@fitzsim.org>
Sat, 19 Nov 2022 14:26:55 +0000
(09:26 -0500)
* lisp/net/eudcb-mailabbrev.el (eudc-mailabbrev-query-internal):
Check if symbol is bound before taking its value. (Bug#59369)
lisp/net/eudcb-mailabbrev.el
patch
|
blob
|
history
diff --git
a/lisp/net/eudcb-mailabbrev.el
b/lisp/net/eudcb-mailabbrev.el
index 64b50af09bcd537e72c263740bd4942629a01679..4a2dd9ad4a469124c8b13b7f2e043eee54fd9e0a 100644
(file)
--- a/
lisp/net/eudcb-mailabbrev.el
+++ b/
lisp/net/eudcb-mailabbrev.el
@@
-78,7
+78,10
@@
RETURN-ATTRS is a list of attributes to return, defaulting to
(dolist (term query)
(let* ((attr (car term))
(value (cdr term))
- (raw-matches (symbol-value (intern-soft value mail-abbrevs))))
+ (soft (intern-soft value mail-abbrevs))
+ (raw-matches (and
+ (boundp soft)
+ (symbol-value soft))))
(when (and raw-matches
(memq attr '(email firstname name)))
(let* ((matches (split-string raw-matches ", "))