view .dir-locals.el @ 19770:35a8e1beac8d

fix some oddities updating lexer and api-files for auto completion * file-editor-tab.cc (file_editor_tab): call notice_settings with flag that updating the lexer is not necessary since it is done while loading the file; (update_lexer): fix some binary operators; (new_file): call update_lexer since it is not called during initialization; (notice_settings): new flag for indicating initialization phase where update_lexer should not be called * file-editor-tab.h: notice_settings has an additional input parameter which is set to false by default * octave-txt-lexer.cc (lexer): new function returning the name of the lexer * octave-txt-lexer.h: new function returning the name of the lexer
author Torsten <ttl@justmail.de>
date Thu, 19 Feb 2015 20:26:36 +0100
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))))