From: Leo Liu Date: Thu, 21 Nov 2013 17:33:30 +0000 (+0800) Subject: * progmodes/octave.el (octave-mode, inferior-octave-mode): Fix X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~387^2~756 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=38637ccae650eefa403717a9cafe78a0b1923042;p=emacs.git * progmodes/octave.el (octave-mode, inferior-octave-mode): Fix obsolete variable comment-use-global-state. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 014dbea7b51..12085f38e5f 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2013-11-21 Leo Liu + + * progmodes/octave.el (octave-mode, inferior-octave-mode): Fix + obsolete variable comment-use-global-state. + 2013-11-21 Rüdiger Sonderfeld * progmodes/octave.el (octave-mode-map, octave-mode-menu): Add diff --git a/lisp/progmodes/octave.el b/lisp/progmodes/octave.el index c09dea59c27..540bd93517d 100644 --- a/lisp/progmodes/octave.el +++ b/lisp/progmodes/octave.el @@ -547,7 +547,7 @@ definitions can also be stored in files and used in batch mode." ;; a ";" at those places where it's correct (i.e. outside of parens). (setq-local electric-layout-rules '((?\; . after))) - (setq-local comment-use-global-state t) + (setq-local comment-use-syntax t) (setq-local comment-start octave-comment-start) (setq-local comment-end "") (setq-local comment-start-skip octave-comment-start-skip) @@ -703,7 +703,7 @@ in the Inferior Octave buffer.") :abbrev-table octave-abbrev-table (setq comint-prompt-regexp inferior-octave-prompt) - (setq-local comment-use-global-state t) + (setq-local comment-use-syntax t) (setq-local comment-start octave-comment-start) (setq-local comment-end "") (setq comment-column 32)