/[emacs]/emacs/lisp/eshell/esh-ext.el
ViewVC logotype

Diff of /emacs/lisp/eshell/esh-ext.el

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.8 by pj, Sun Jul 15 19:53:53 2001 UTC revision 1.9 by johnw, Sat Feb 16 06:43:43 2002 UTC
# Line 212  causing the user to wonder if anything's Line 212  causing the user to wonder if anything's
212                                          default-directory)))                                          default-directory)))
213             (find-file-name-handler default-directory             (find-file-name-handler default-directory
214                                     'shell-command))))                                     'shell-command))))
215      (if handler      (if (and handler
216                 (not (and (eshell-under-xemacs-p)
217                           (eq handler 'dired-handler-fn))))
218          (eshell-remote-command handler command args))          (eshell-remote-command handler command args))
219      (let ((interp (eshell-find-interpreter command)))      (let ((interp (eshell-find-interpreter command)))
220        (assert interp)        (assert interp)
# Line 258  Return nil, or a list of the form: Line 260  Return nil, or a list of the form:
260               (file-regular-p file))               (file-regular-p file))
261          (with-temp-buffer          (with-temp-buffer
262            (insert-file-contents-literally file nil 0 maxlen)            (insert-file-contents-literally file nil 0 maxlen)
263            (if (looking-at "#!\\([^ \t\n]+\\)\\([ \t]+\\(.+\\)\\)?")            (if (looking-at "#![ \t]*\\([^ \t\n]+\\)\\([ \t]+\\(.+\\)\\)?")
264                (if (match-string 3)                (if (match-string 3)
265                    (list (match-string 1)                    (list (match-string 1)
266                          (match-string 3)                          (match-string 3)

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26