auctex-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 28866558: Use `symbol-value' instead of `eval'


From: Ikumi Keita
Subject: master 28866558: Use `symbol-value' instead of `eval'
Date: Fri, 16 Dec 2022 01:24:44 -0500 (EST)

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]