Mercurial > octave-nkf
view .dir-locals.el @ 15861:f425e680925e
editor: when opening an open file, bring its tab (even with short title) on top
* file-editor.cc(request_open_file): also check for a tab title containing the
file name without complete path when bringing tab of already open file on top
author | Torsten <ttl@justmail.de> |
---|---|
date | Fri, 28 Dec 2012 15:39:46 +0100 |
parents | 7600200a54c8 |
children | 9ff04de067ce |
line wrap: on
line source
((nil . ((c-file-style . "gnu") (indent-tabs-mode . nil) (fill-column . 72) (eval . (when (string-match "\\.h\\'" (buffer-file-name)) (unless (string-match "/gnulib/" (buffer-file-name)) (c++-mode) (c-set-style "gnu")))))) (change-log-mode . ((indent-tabs-mode . t))) (makefile-mode . ((indent-tabs-mode . t))))