Mercurial > hg > dotemacs
diff dotemacs.el @ 48:e74fcbd59355
Update safe variables
author | Jordi Gutiérrez Hermoso <jordigh@octave.org> |
---|---|
date | Fri, 16 Sep 2011 20:26:47 -0500 |
parents | 9f518d21ee99 |
children | 8f4ab482c4bd |
line wrap: on
line diff
--- a/dotemacs.el +++ b/dotemacs.el @@ -52,7 +52,7 @@ '(make-backup-files nil) '(menu-bar-mode t) '(py-python-command "ipython") - '(safe-local-variable-values (quote ((eval when (string-match "\\.h\\'" (buffer-file-name)) (c++-mode) (c-set-style "gnu"))))) + '(safe-local-variable-values (quote ((eval when (string-match "\\.h\\'" (buffer-file-name)) (unless (string-match "/gnulib/" (buffer-file-name)) (c++-mode) (c-set-style "gnu"))) (py-indent-offset . 4) (eval when (string-match "\\.h\\'" (buffer-file-name)) (c++-mode) (c-set-style "gnu"))))) '(savehist-mode t nil (savehist)) '(show-paren-mode t) '(tab-width 2)