* progmodes/octave.el (octave-mode, inferior-octave-mode): Fix
obsolete variable comment-use-global-state.
This commit is contained in:
parent
4e8b693819
commit
38637ccae6
2 changed files with 7 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue