diff options
author | John Wiegley <johnw@newartisans.com> | 2002-04-12 20:11:06 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2002-04-12 20:11:06 +0000 |
commit | 30104690c3e30aae247e9ad5605f1ad9a3d5b189 (patch) | |
tree | 613ceb3c61096b5c43332962595b3401f59db97e /lisp/eshell/esh-ext.el | |
parent | a248d53d08dfa6d94ccb5dc086875131c5f7ff36 (diff) | |
download | emacs-30104690c3e30aae247e9ad5605f1ad9a3d5b189.tar.gz emacs-30104690c3e30aae247e9ad5605f1ad9a3d5b189.tar.bz2 emacs-30104690c3e30aae247e9ad5605f1ad9a3d5b189.zip |
(eshell-script-interpreter): Fix for CRLF operating systems to the
regexp used to detect a script's interpretor.
Diffstat (limited to 'lisp/eshell/esh-ext.el')
-rw-r--r-- | lisp/eshell/esh-ext.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/eshell/esh-ext.el b/lisp/eshell/esh-ext.el index af7c240044a..12edbdc7153 100644 --- a/lisp/eshell/esh-ext.el +++ b/lisp/eshell/esh-ext.el @@ -257,7 +257,7 @@ Return nil, or a list of the form: (file-regular-p file)) (with-temp-buffer (insert-file-contents-literally file nil 0 maxlen) - (if (looking-at "#![ \t]*\\([^ \t\n]+\\)\\([ \t]+\\(.+\\)\\)?") + (if (looking-at "#![ \t]*\\([^ \r\t\n]+\\)\\([ \t]+\\(.+\\)\\)?") (if (match-string 3) (list (match-string 1) (match-string 3) |