diff options
| author | Glenn Morris | 2010-09-23 20:06:33 -0700 |
|---|---|---|
| committer | Glenn Morris | 2010-09-23 20:06:33 -0700 |
| commit | 5e339ee2a32905ae87296dfb01ef957cfa04a747 (patch) | |
| tree | 0f88b53b4b762526ce66d1b8a775ebf2bab52fc0 /lisp/textmodes/dns-mode.el | |
| parent | 9a7cfdb82a73229b743e480d44e8f240139f6c6f (diff) | |
| download | emacs-5e339ee2a32905ae87296dfb01ef957cfa04a747.tar.gz emacs-5e339ee2a32905ae87296dfb01ef957cfa04a747.zip | |
Move some autoloaded auto-mode-alist entries to files.el.
* image-mode.el, progmodes/compile.el, progmodes/gud.el:
* progmodes/mixal-mode.el, textmodes/bibtex-style.el:
* textmodes/css-mode.el, textmodes/dns-mode.el:
Move autoloaded auto-mode-alist entries to files.el.
* files.el (auto-mode-alist): Move entries here.
Diffstat (limited to 'lisp/textmodes/dns-mode.el')
| -rw-r--r-- | lisp/textmodes/dns-mode.el | 8 |
1 files changed, 0 insertions, 8 deletions
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 |