aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/simple.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/simple.el b/lisp/simple.el
index a25c33447c5..2c9a39bce4e 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -2982,7 +2982,7 @@ it were the arg to `interactive' (which see) to interactively read the value."
2982 (let* ((v (variable-at-point)) 2982 (let* ((v (variable-at-point))
2983 (enable-recursive-minibuffers t) 2983 (enable-recursive-minibuffers t)
2984 (val (completing-read 2984 (val (completing-read
2985 (if v 2985 (if (user-variable-p v)
2986 (format "Set variable (default %s): " v) 2986 (format "Set variable (default %s): " v)
2987 "Set variable: ") 2987 "Set variable: ")
2988 obarray 'user-variable-p t)) 2988 obarray 'user-variable-p t))