aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/textmodes
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/textmodes')
-rw-r--r--lisp/textmodes/bibtex-style.el5
-rw-r--r--lisp/textmodes/css-mode.el1
-rw-r--r--lisp/textmodes/dns-mode.el8
3 files changed, 2 insertions, 12 deletions
diff --git a/lisp/textmodes/bibtex-style.el b/lisp/textmodes/bibtex-style.el
index 688d6fe0bc1..3e84c37af9e 100644
--- a/lisp/textmodes/bibtex-style.el
+++ b/lisp/textmodes/bibtex-style.el
@@ -1,6 +1,7 @@
1;;; bibtex-style.el --- Major mode for BibTeX Style files 1;;; bibtex-style.el --- Major mode for BibTeX Style files
2 2
3;; Copyright (C) 2005, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. 3;; Copyright (C) 2005, 2007, 2008, 2009, 2010
4;; Free Software Foundation, Inc.
4 5
5;; Author: Stefan Monnier <monnier@iro.umontreal.ca> 6;; Author: Stefan Monnier <monnier@iro.umontreal.ca>
6;; Keywords: tex 7;; Keywords: tex
@@ -63,8 +64,6 @@
63 ("\\<\\(FUNCTION\\|MACRO\\)\\s-+{\\([^}\n]+\\)}" 64 ("\\<\\(FUNCTION\\|MACRO\\)\\s-+{\\([^}\n]+\\)}"
64 (2 font-lock-function-name-face)))) 65 (2 font-lock-function-name-face))))
65 66
66;;;###autoload (add-to-list 'auto-mode-alist (cons (purecopy "\\.bst\\'") 'bibtex-style-mode))
67
68;;;###autoload 67;;;###autoload
69(define-derived-mode bibtex-style-mode nil "BibStyle" 68(define-derived-mode bibtex-style-mode nil "BibStyle"
70 "Major mode for editing BibTeX style files." 69 "Major mode for editing BibTeX style files."
diff --git a/lisp/textmodes/css-mode.el b/lisp/textmodes/css-mode.el
index bfa98e9c36f..759778eb025 100644
--- a/lisp/textmodes/css-mode.el
+++ b/lisp/textmodes/css-mode.el
@@ -264,7 +264,6 @@
264(defvar css-font-lock-defaults 264(defvar css-font-lock-defaults
265 '(css-font-lock-keywords nil t)) 265 '(css-font-lock-keywords nil t))
266 266
267;;;###autoload (add-to-list 'auto-mode-alist (cons (purecopy "\\.css\\'") 'css-mode))
268;;;###autoload 267;;;###autoload
269(define-derived-mode css-mode fundamental-mode "CSS" 268(define-derived-mode css-mode fundamental-mode "CSS"
270 "Major mode to edit Cascading Style Sheets." 269 "Major mode to edit Cascading Style Sheets."
diff --git a/lisp/textmodes/dns-mode.el b/lisp/textmodes/dns-mode.el
index 45ebc07d8bb..ed84b5be914 100644
--- a/lisp/textmodes/dns-mode.el
+++ b/lisp/textmodes/dns-mode.el
@@ -28,11 +28,6 @@
28;; C-c C-s Increment SOA serial. 28;; C-c C-s Increment SOA serial.
29;; Understands YYYYMMDDNN, Unix time, and serial number formats, 29;; Understands YYYYMMDDNN, Unix time, and serial number formats,
30;; and complains if it fail to find SOA serial. 30;; and complains if it fail to find SOA serial.
31;;
32;; Put something similar to the following in your ~/.emacs to use this file:
33;;
34;; (load "~/path/to/dns-mode.el")
35;; (setq auto-mode-alist (cons '("\\.soa\\'" . dns-mode) auto-mode-alist))
36 31
37;;; References: 32;;; References:
38 33
@@ -151,7 +146,6 @@ Turning on DNS mode runs `dns-mode-hook'."
151 (easy-menu-add dns-mode-menu dns-mode-map)) 146 (easy-menu-add dns-mode-menu dns-mode-map))
152 147
153;;;###autoload (defalias 'zone-mode 'dns-mode) 148;;;###autoload (defalias 'zone-mode 'dns-mode)
154;;;###autoload (add-to-list 'auto-mode-alist (purecopy '("\\.zone\\'" . zone-mode)))
155 149
156;; Tools. 150;; Tools.
157 151
@@ -223,8 +217,6 @@ This function is run from `before-save-hook'."
223 ;; We return nil in case this is used in write-contents-functions. 217 ;; We return nil in case this is used in write-contents-functions.
224 nil))) 218 nil)))
225 219
226;;;###autoload(add-to-list 'auto-mode-alist (purecopy '("\\.soa\\'" . dns-mode)))
227
228(provide 'dns-mode) 220(provide 'dns-mode)
229 221
230;;; dns-mode.el ends here 222;;; dns-mode.el ends here