We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5581f22 commit 939a40bCopy full SHA for 939a40b
src/tools/editors/emacs.samples
@@ -76,3 +76,20 @@
76
))))
77
78
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
79
+
80
+;;; To work on the documentation, the following (or a variant, as above)
81
+;;; can be helpful.
82
83
+(defun pgsql-sgml-mode ()
84
+ "SGML mode adjusted for PostgreSQL project"
85
+ (interactive)
86
+ (sgml-mode)
87
88
+ (setq sgml-basic-offset 1)
89
+)
90
91
+(setq auto-mode-alist
92
+ (cons '("\\(postgres\\|pgsql\\).*\\.sgml\\'" . pgsql-c-mode)
93
+ auto-mode-alist))
94
95
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
0 commit comments