mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 04:10:54 -08:00
EUDC: Fix a void-variable error
* lisp/net/eudcb-mailabbrev.el (eudc-mailabbrev-query-internal): Check if symbol is bound before taking its value. (Bug#59369)
This commit is contained in:
parent
91c3a276dd
commit
db3ff76dc7
1 changed files with 4 additions and 1 deletions
|
|
@ -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 ", "))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue