Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit939a40b

Browse files
committed
Add some instructions on how to customize emacs for working on the SGML
sources.
1 parent5581f22 commit939a40b

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

‎src/tools/editors/emacs.samples

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,3 +76,20 @@
7676
))))
7777

7878
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
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

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp