Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3c1401 commit c221a0eCopy full SHA for c221a0e
src/tools/editors/emacs.samples
@@ -30,7 +30,12 @@
30
(add-hook 'c-mode-hook
31
(defun postgresql-c-mode-hook ()
32
(when (string-match "/postgres\\(ql\\)?/" buffer-file-name)
33
- (c-set-style "postgresql"))))
+ (c-set-style "postgresql")
34
+ ;; Don't override the style we just set with the style in
35
+ ;; `dir-locals-file'. Emacs 23.4.1 needs this; it is obsolete,
36
+ ;; albeit harmless, by Emacs 24.3.1.
37
+ (set (make-local-variable 'ignored-local-variables)
38
+ (append '(c-file-style) ignored-local-variables)))))
39
40
41
;;; Perl files
0 commit comments