* progmodes/octave.el (octave-mode, inferior-octave-mode): Fix

obsolete variable comment-use-global-state.
This commit is contained in:
Leo Liu 2013-11-22 01:33:30 +08:00
parent 4e8b693819
commit 38637ccae6
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2013-11-21 Leo Liu <sdl.web@gmail.com>
* progmodes/octave.el (octave-mode, inferior-octave-mode): Fix
obsolete variable comment-use-global-state.
2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
* progmodes/octave.el (octave-mode-map, octave-mode-menu): Add

View file

@ -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)