view .dir-locals.el @ 21058:759fcdf3666d

Test GUI marker flags correctly, and omit unnecessary test finding next marker * file-editor-tab.cc (handle_margin_clicked, toggle_bookmark): & not && * file-editor-tab.cc (next_bookmark, previous_bookmark, next_breakpoint, previous_breakpoint): Skip current line wether or not it has a marker. * file-editor-tab.{cc,h} (message_cannot_breakpoint_changed_file): replace by unchanged_or_saved(), to save if necessary before breakpointing * file-editor-tab.cc (handle_margin_clicked, toggle_bookmark): call unchanged_of_saved().
author Lachlan Andrew <lachlanbis@gmail.com>
date Wed, 13 Jan 2016 17:28:42 +1100
parents 9ff04de067ce
children df203b20cfc6
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))))