summaryrefslogtreecommitdiff
path: root/lisp/ielm.el
diff options
context:
space:
mode:
authorDmitry Gutov <dgutov@yandex.ru>2014-02-10 04:53:15 +0200
committerDmitry Gutov <dgutov@yandex.ru>2014-02-10 04:53:15 +0200
commita11463de21dc8dc4f36ab8c2afa65aa91a689e83 (patch)
treeac5c7fe885aca9daa1db806a7056b08873e3e3dc /lisp/ielm.el
parent63d93efda6fb229d18a750436d52396ceecd68d9 (diff)
downloademacs-a11463de21dc8dc4f36ab8c2afa65aa91a689e83.tar.gz
* lisp/ielm.el (inferior-emacs-lisp-mode): Instead of
`comment-use-global-state', set `comment-use-syntax'.
Diffstat (limited to 'lisp/ielm.el')
-rw-r--r--lisp/ielm.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/ielm.el b/lisp/ielm.el
index b84c656e468..d6d742875d6 100644
--- a/lisp/ielm.el
+++ b/lisp/ielm.el
@@ -549,7 +549,7 @@ Customized bindings may be defined in `ielm-map', which currently contains:
(setq mode-line-process '(":%s on " (:eval (buffer-name ielm-working-buffer))))
;; Useful for `hs-minor-mode'.
(setq-local comment-start ";")
- (setq-local comment-use-global-state t)
+ (setq-local comment-use-syntax t)
(set (make-local-variable 'indent-line-function) 'ielm-indent-line)
(set (make-local-variable 'ielm-working-buffer) (current-buffer))