summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2003-10-07 17:11:42 +0000
committerMamoru Komachi <usata@gentoo.org>2003-10-07 17:11:42 +0000
commitc8b254e5a88c722d6b902e18aa0932bf0a17a358 (patch)
tree29cec603d8c049cfe06e044a6b8c2d045a2f3685 /app-emacs/tdtd/files/50tdtd-gentoo.el
parentInitial import. Closing Bug #30396 (diff)
downloadgentoo-2-c8b254e5a88c722d6b902e18aa0932bf0a17a358.tar.gz
gentoo-2-c8b254e5a88c722d6b902e18aa0932bf0a17a358.tar.bz2
gentoo-2-c8b254e5a88c722d6b902e18aa0932bf0a17a358.zip
Initial import. Closing Bug #30396
Diffstat (limited to 'app-emacs/tdtd/files/50tdtd-gentoo.el')
-rw-r--r--app-emacs/tdtd/files/50tdtd-gentoo.el26
1 files changed, 26 insertions, 0 deletions
diff --git a/app-emacs/tdtd/files/50tdtd-gentoo.el b/app-emacs/tdtd/files/50tdtd-gentoo.el
new file mode 100644
index 000000000000..707451d957e1
--- /dev/null
+++ b/app-emacs/tdtd/files/50tdtd-gentoo.el
@@ -0,0 +1,26 @@
+
+;;; tdtd site-lisp configuration
+
+(autoload 'dtd-mode "tdtd" "Major mode to edit DTD files." 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)