diff options
| author | Glenn Morris | 2013-09-10 23:44:35 -0700 |
|---|---|---|
| committer | Glenn Morris | 2013-09-10 23:44:35 -0700 |
| commit | 2a08047aed0017cc2b639e189fc3b5d41c46fcbd (patch) | |
| tree | b75a8ecbec1344d13f630dcc2e00eb2220df9f8b /etc | |
| parent | cb55925848ce8359ac695b69bf7b278024c304c0 (diff) | |
| download | emacs-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/NEWS | 8 |
1 files changed, 3 insertions, 5 deletions
| @@ -616,11 +616,9 @@ Formerly it returned a list (-1 LOW USEC PSEC), but this was ambiguous | |||
| 616 | in the presence of files with negative time stamps. | 616 | in 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 |
| 619 | as regexps rather than literal strings. For the time being, any | 619 | as regexps rather than literal strings. Technically this is an |
| 620 | element whose car does not start with "\\" is still treated as a | 620 | incompatible change, but unless you are using interpreter-mode-alist |
| 621 | literal string, so this change should not cause any incompatibilities | 621 | for something (not just adding elements to it), it ought not to affect you. |
| 622 | if you have code that just adds elements to the list, only if you are | ||
| 623 | actually using interpreter-mode-alist for something. | ||
| 624 | 622 | ||
| 625 | 623 | ||
| 626 | * Lisp Changes in Emacs 24.4 | 624 | * Lisp Changes in Emacs 24.4 |