mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-14 03:10:47 +00:00
6021ddc420
- Add support NOPORTDOCS and DOCSDIR - Remove USE_EMACS and EMACS_PORT_NAME for support all emacsen, add symlinks to xemacs load dir. - Bump PORTREVISION.
30 lines
968 B
Plaintext
30 lines
968 B
Plaintext
****************************************************************************
|
|
To use dtd-mode, add to your ~/.emacs or ~/.xemacs/init.el the following
|
|
lines:
|
|
|
|
;; DTD mode
|
|
(autoload 'dtd-mode "tdtd" "Major mode for SGML and XML DTDs." t)
|
|
(autoload 'dtd-etags "tdtd"
|
|
"Execute etags on FILESPEC and match on DTD-specific regular expressions."
|
|
t)
|
|
(autoload 'dtd-grep "tdtd" "Grep for PATTERN in files matching FILESPEC." t)
|
|
|
|
;; Turn on font lock when in DTD mode
|
|
(add-hook 'dtd-mode-hooks
|
|
'turn-on-font-lock)
|
|
|
|
(setq auto-mode-alist
|
|
(append
|
|
(list
|
|
'("\\.dcl$" . dtd-mode)
|
|
'("\\.dec$" . dtd-mode)
|
|
'("\\.dtd$" . dtd-mode)
|
|
'("\\.ele$" . dtd-mode)
|
|
'("\\.ent$" . dtd-mode)
|
|
'("\\.mod$" . dtd-mode))
|
|
auto-mode-alist))
|
|
|
|
;; To use resize-minibuffer-mode, uncomment this and include in your .emacs:
|
|
;;(resize-minibuffer-mode)
|
|
****************************************************************************
|