view .dir-locals.el @ 18871:08d7dbd728bc gui-release

save a new file before trying to run it from the editor (bug #42571) * file-editor-tab.h: new flag for modal/modeless file dialogs * file-editor-tab.cc (constructor): iniitalize new flag to its default value, (run_file): set dialogs to modeless before saving the file preventing running the file before saving is complete, (show_dialog): set mode of dialog corresponding to the new flag
author Torsten <ttl@justmail.de>
date Mon, 16 Jun 2014 20:30:28 +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))))