* lisp/ielm.el (inferior-emacs-lisp-mode): Instead of
authorDmitry Gutov <dgutov@yandex.ru>
Mon, 10 Feb 2014 02:53:15 +0000 (04:53 +0200)
committerDmitry Gutov <dgutov@yandex.ru>
Mon, 10 Feb 2014 02:53:15 +0000 (04:53 +0200)
`comment-use-global-state', set `comment-use-syntax'.

lisp/ChangeLog
lisp/ielm.el

index 597cbc1..b76e0c1 100644 (file)
@@ -1,3 +1,8 @@
+2014-02-10  Dmitry Gutov  <dgutov@yandex.ru>
+
+       * ielm.el (inferior-emacs-lisp-mode): Instead of
+       `comment-use-global-state', set `comment-use-syntax'.
+
 2014-02-10  Glenn Morris  <rgm@gnu.org>
 
        * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
index b84c656..d6d7428 100644 (file)
@@ -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))