aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Courtieu2010-09-06 09:45:58 +0000
committerPierre Courtieu2010-09-06 09:45:58 +0000
commitd53f544d4852ff64e334378505c9ca15a0338bf8 (patch)
treee32eed477cca8afda0510b24426552312377b5e8
parentba9fe7e2119b357f1788cfd230036ca4e4229e50 (diff)
Fixed a bug in coq "set prog args persistently".
-rw-r--r--coq/coq-local-vars.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/coq/coq-local-vars.el b/coq/coq-local-vars.el
index 08e871cf..e021909f 100644
--- a/coq/coq-local-vars.el
+++ b/coq/coq-local-vars.el
@@ -131,7 +131,7 @@ These variable describes the coqtop arguments to be launched on this file.
Optional argument OLDVALUE specifies the previous value of `coq-prog-args', it
will be used to suggest values to the user."
(let* ((olddirs (coq-extract-directories-from-args oldvalue))
- (progargs "-emacs-U")
+ (progargs '("-emacs-U"))
(option))
;; first suggest previous directories
(while olddirs
@@ -152,7 +152,6 @@ will be used to suggest values to the user."
These variable describes the coqtop command to be launched on this file.
Optional argument OLDVALUE specifies the previous value of `coq-prog-name', it
will be used to suggest a value to the user."
- (message (concat "oldavalue: " oldvalue))
(let* ((deflt (or oldvalue "coqtop"))
(cmd (coq-read-directory
(concat "coq program name (default \"" oldvalue "\"): ")