aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorGlenn Morris2013-09-10 23:44:35 -0700
committerGlenn Morris2013-09-10 23:44:35 -0700
commit2a08047aed0017cc2b639e189fc3b5d41c46fcbd (patch)
treeb75a8ecbec1344d13f630dcc2e00eb2220df9f8b /etc
parentcb55925848ce8359ac695b69bf7b278024c304c0 (diff)
downloademacs-2a08047aed0017cc2b639e189fc3b5d41c46fcbd.tar.gz
emacs-2a08047aed0017cc2b639e189fc3b5d41c46fcbd.zip
Improve previous interpreter-mode-alist change
* lisp/files.el (interpreter-mode-alist): Remove \\` \\' parts. (set-auto-mode): Don't regexp-quote elements. * lisp/progmodes/python.el (interpreter-mode-alist): Remove \\` \\'. * lisp/progmodes/cc-mode.el (interpreter-mode-alist): * lisp/progmodes/ruby-mode.el (interpreter-mode-alist): Revert previous change. * etc/NEWS: Update.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS8
1 files changed, 3 insertions, 5 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 929c86a7ba6..a5da8eaa893 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -616,11 +616,9 @@ Formerly it returned a list (-1 LOW USEC PSEC), but this was ambiguous
616in the presence of files with negative time stamps. 616in the presence of files with negative time stamps.
617 617
618** The cars of the elements in `interpreter-mode-alist' are now treated 618** The cars of the elements in `interpreter-mode-alist' are now treated
619as regexps rather than literal strings. For the time being, any 619as regexps rather than literal strings. Technically this is an
620element whose car does not start with "\\" is still treated as a 620incompatible change, but unless you are using interpreter-mode-alist
621literal string, so this change should not cause any incompatibilities 621for something (not just adding elements to it), it ought not to affect you.
622if you have code that just adds elements to the list, only if you are
623actually using interpreter-mode-alist for something.
624 622
625 623
626* Lisp Changes in Emacs 24.4 624* Lisp Changes in Emacs 24.4