1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00
freebsd-ports/textproc/docbookide.el/pkg-message
Yoichi NAKAYAMA 9a817a236f Add docbookide.el, Emacs lisp modules for editing DocBook documents.
PR:		40129
Submitted by:	Sean Chittenden <sean@chittenden.org>
2002-07-16 04:24:28 +00:00

22 lines
615 B
Plaintext

===
To use docbook-mode, add the following lines to your ~/.emacs:
;; DocBook IDE mode
(autoload 'docbook-mode "docbookide" "Major mode for DocBook documents." t)
;; Turn on font lock when in DocBook mode
(add-hook 'docbook-mode-hook
'turn-on-font-lock)
;; You might want to make this the default for .sgml or .xml documents,
;; or you might want to rely on -*- DocBook -*- on the first line,
;; or perhaps buffer variables. It's up to you...
(setq auto-mode-alist
(append
(list
'("\\.sgm" . docbook-mode))
'("\\.sgml" . docbook-mode))
'("\\.xml" . docbook-mode))
auto-mode-alist))
===