Mercurial > emacs
changeset 44553:536e5590a586
(eshell-script-interpreter): Fix for CRLF operating systems to the
regexp used to detect a script's interpretor.
author | John Wiegley <johnw@newartisans.com> |
---|---|
date | Fri, 12 Apr 2002 20:11:06 +0000 |
parents | 1aa4cbab9ae4 |
children | 63e02f3f116c |
files | lisp/eshell/esh-ext.el |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/eshell/esh-ext.el Fri Apr 12 20:10:46 2002 +0000 +++ b/lisp/eshell/esh-ext.el Fri Apr 12 20:11:06 2002 +0000 @@ -257,7 +257,7 @@ (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)