diff options
author | Glenn Morris <rgm@gnu.org> | 2010-09-23 00:26:10 -0700 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2010-09-23 00:26:10 -0700 |
commit | ce009d0b262f95249985fe0b898123a0830271b2 (patch) | |
tree | 07e5e197dea6be2f294ec3ea5ed4b10688afb2d2 /lisp/files.el | |
parent | 7b344dfef79b1fdd068b39036bb34ddeafa96b7d (diff) | |
download | emacs-ce009d0b262f95249985fe0b898123a0830271b2.tar.gz |
Define ld-script auto-mode-alist entries in the standard place.
* lisp/progmodes/ld-script.el (auto-mode-alist): Move to files.el.
* lisp/files.el (auto-mode-alist): Move ld-script entries here,
further down the list.
Diffstat (limited to 'lisp/files.el')
-rw-r--r-- | lisp/files.el | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lisp/files.el b/lisp/files.el index a7c465ae8c1..33e7d44d528 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -2310,6 +2310,12 @@ ARC\\|ZIP\\|LZH\\|LHA\\|ZOO\\|[JEW]AR\\|XPI\\|RAR\\|7Z\\)\\'" . archive-mode) ("[:/]_emacs\\'" . emacs-lisp-mode) ("/crontab\\.X*[0-9]+\\'" . shell-script-mode) ("\\.ml\\'" . lisp-mode) + ;; Linux-2.6.9 uses some different suffix for linker scripts: + ;; "ld", "lds", "lds.S", "lds.in", "ld.script", and "ld.script.balo". + ;; eCos uses "ld" and "ldi". Netbsd uses "ldscript.*". + ("\\.ld[si]?\\'" . ld-script-mode) + ("ld\\.?script\\'" . ld-script-mode) + ("\\.x[bdsru]?[cn]?\\'" . ld-script-mode) ;; Common Lisp ASDF package system. ("\\.asd\\'" . lisp-mode) ("\\.\\(asn\\|mib\\|smi\\)\\'" . snmp-mode) |