branch: externals/auctex
commit 288665587a4fcb6b7fc356e86a86ee9670186232
Author: Ikumi Keita <[email protected]>
Commit: Ikumi Keita <[email protected]>
Use `symbol-value' instead of `eval'
* multi-prompt.el (multi-prompt-expand-completion-table): Use
`symbol-value' explicitly instead of `eval' to obtain the value of
variable.
---
multi-prompt.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/multi-prompt.el b/multi-prompt.el
index 06f28ca544..5ce11d5135 100644
--- a/multi-prompt.el
+++ b/multi-prompt.el
@@ -171,7 +171,7 @@ This is achieved by eval'ing all variables in the value
parts of
the alist elements."
(mapcar (lambda (x)
(if (and (cadr x) (symbolp (cadr x)) (not (functionp (cadr x))))
- (cons (car x) (list (eval (cadr x) t)))
+ (cons (car x) (list (symbol-value (cadr x))))
x))
table))