Mercurial > octave-antonio
view .dir-locals.el @ 20132:d7bea5b11fc3
only update file browser and dir selection box when on top-level (bug #44622)
* main-window.cc (change_directory_callback): call function for updating gui
* octave-qt-link.cc (octave_qt_link): init new variables
_current_directory and _new_dir;
(do_change_directory): only store current dir and new state, no gui update;
(update_directory): new function updating gui and clearing new dir state;
(do_set_workspace): when on top level and new dir state, update gui
* octave-qt-link.h: new update function, new variables for dir and state
author | Torsten <ttl@justmail.de> |
---|---|
date | Sat, 25 Apr 2015 19:43:27 +0200 |
parents | 9ff04de067ce |
children |
line wrap: on
line source
((nil . ((c-file-style . "gnu") (indent-tabs-mode . nil) (fill-column . 72) (eval . (when (and (buffer-file-name) (string-match-p "\\.h\\'" (buffer-file-name)) (not (string-match-p "/gnulib/" (buffer-file-name)))) (c++-mode) (c-set-style "gnu"))))) (change-log-mode . ((indent-tabs-mode . t))) (makefile-mode . ((indent-tabs-mode . t))))