Mercurial > hg > octave-thorsten
view .dir-locals.el @ 15361:b4c32f245da7 draft default tip
GUI: Settings take immediate effect on the m-editor
* main-window.cc (main_window::construct): connect settings change to file-editor
* file-editor.h (file-editor::notice_settings): new notice settings method
* file-editor.cc (file-editor::notice_settings): new notice settings method
and pass-through to all file-editor-tabs
* file-editor-tab.h (file-editor::notice_settings): new notice settings method
* file-editor-tab.c (file_editor_tab::file_editor_tab): removed all settings to
file-editor::notice_settings
(file-editor::update_lexer): fix in case settings is 0 (should never happen)
(file-editor::notice_settings): all settings moved here
author | Thorsten Liebig <thorsten.liebig@gmx.de> |
---|---|
date | Tue, 11 Sep 2012 22:19:51 +0200 |
parents | 7600200a54c8 |
children |
line wrap: on
line source
((nil . ((c-file-style . "gnu") (indent-tabs-mode . nil) (fill-column . 72) (eval . (when (string-match "\\.h\\'" (buffer-file-name)) (unless (string-match "/gnulib/" (buffer-file-name)) (c++-mode) (c-set-style "gnu")))))) (change-log-mode . ((indent-tabs-mode . t))) (makefile-mode . ((indent-tabs-mode . t))))