diff options
| author | Richard M. Stallman | 1998-05-15 22:24:17 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1998-05-15 22:24:17 +0000 |
| commit | 82d6c19f8a7b93737f38221b7b41cc179d3b9bb0 (patch) | |
| tree | 2848c36c0381954ebfeca58f1badac0c1f5afff4 /lisp | |
| parent | a7e4cdde61563635ab504a881ed12cd99f1d3277 (diff) | |
| download | emacs-82d6c19f8a7b93737f38221b7b41cc179d3b9bb0.tar.gz emacs-82d6c19f8a7b93737f38221b7b41cc179d3b9bb0.zip | |
(set-auto-coding): Exclude \n when matching the coding system name.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/international/mule.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/international/mule.el b/lisp/international/mule.el index 831d2811897..281bc86d7f1 100644 --- a/lisp/international/mule.el +++ b/lisp/international/mule.el | |||
| @@ -819,7 +819,7 @@ function by default." | |||
| 819 | (substring string | 819 | (substring string |
| 820 | (match-beginning 2) (match-end 2)))) | 820 | (match-beginning 2) (match-end 2)))) |
| 821 | (re-coding (concat "^" prefix | 821 | (re-coding (concat "^" prefix |
| 822 | "coding[ \t]*:[ \t]*\\([^ \t]+\\)[ \t]*" | 822 | "coding[ \t]*:[ \t]*\\([^ \t\n]+\\)[ \t]*" |
| 823 | suffix "$")) | 823 | suffix "$")) |
| 824 | (re-end (concat "^" prefix "end *:[ \t]*" suffix "$")) | 824 | (re-end (concat "^" prefix "end *:[ \t]*" suffix "$")) |
| 825 | (limit (or (string-match re-end string idx) len))) | 825 | (limit (or (string-match re-end string idx) len))) |