`comment-use-global-state', set `comment-use-syntax'.
+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.
(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))