view .dir-locals.el @ 18236:f26d527c1a71 stable

allow the gui editor to set breakpoints in class methods (bug #41126) * file-editor-tab.h, file-editor-tab.cc (bp_info::bp_info): Construct bp_info struct from file name and line number instead of individual struct components. Change all uses. Recognize class name in file names that match /dir/@class/fcn.m.
author John W. Eaton <jwe@octave.org>
date Tue, 07 Jan 2014 16:01:44 -0500
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))))