aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorJohn Wiegley <[email protected]>2002-04-12 20:11:06 +0000
committerJohn Wiegley <[email protected]>2002-04-12 20:11:06 +0000
commit30104690c3e30aae247e9ad5605f1ad9a3d5b189 (patch)
tree613ceb3c61096b5c43332962595b3401f59db97e /lisp
parenta248d53d08dfa6d94ccb5dc086875131c5f7ff36 (diff)
(eshell-script-interpreter): Fix for CRLF operating systems to the
regexp used to detect a script's interpretor.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/eshell/esh-ext.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/eshell/esh-ext.el b/lisp/eshell/esh-ext.el
index af7c240044..12edbdc715 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)