From: Eli Zaretskii Date: Fri, 6 Jan 2006 13:55:16 +0000 (+0000) Subject: (auto-mode-alist): Recognize linker scripts whose file-name extensions are X-Git-Tag: emacs-pretest-22.0.90~4849 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4c22303a832df1970f9ef910978d6d9271fbc6f6;p=emacs.git (auto-mode-alist): Recognize linker scripts whose file-name extensions are "\.x[bdsru]?[cn]?$". --- diff --git a/lisp/progmodes/ld-script.el b/lisp/progmodes/ld-script.el index b2e6d2638fa..99477b73c63 100644 --- a/lisp/progmodes/ld-script.el +++ b/lisp/progmodes/ld-script.el @@ -126,6 +126,8 @@ ;;;###autoload (add-to-list 'auto-mode-alist '("\\.ld[s]?\\(\\.in\\)?$" . ld-script-mode)) +;;;###autoload +(add-to-list 'auto-mode-alist '("\\.x[bdsru]?[cn]?$" . ld-script-mode)) ;;;###autoload (define-derived-mode ld-script-mode nil "LD-Script"