branch: master commit 288665587a4fcb6b7fc356e86a86ee9670186232 Author: Ikumi Keita <ik...@ikumi.que.jp> Commit: Ikumi Keita <ik...@ikumi.que.jp>
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 06f28ca5..5ce11d51 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))