]> granicus.if.org Git - postgresql/commitdiff
Small update to emacs example configuration
authorPeter Eisentraut <peter_e@gmx.net>
Fri, 22 Apr 2011 21:44:45 +0000 (00:44 +0300)
committerPeter Eisentraut <peter_e@gmx.net>
Fri, 22 Apr 2011 21:47:01 +0000 (00:47 +0300)
Since both tarballs and git now result in a "postgresql" directory
rather than a "pgsql" directory, adjust the example configuration to
look for the former.

src/tools/editors/emacs.samples

index 77a8f3959ff6fba9e2c3ea4da813d6e0b714d193..d9cfa2ffd88e52a2c2633d0c91e38bffacf6c999 100644 (file)
@@ -67,7 +67,7 @@
 (add-hook 'c-mode-hook
          (function
           (lambda nil
-            (if (string-match "pgsql" buffer-file-name)
+            (if (string-match "postgresql" buffer-file-name)
                 (progn
                   (c-set-style "bsd")
                   (setq c-basic-offset 4)