changeset 37816:798d90bb6037

(eshell-completion-command-name, eshell-complete-commands-list): Use `eshell-explicit-command-char' instead of ?*.
author John Wiegley <johnw@newartisans.com>
date Fri, 18 May 2001 16:39:29 +0000
parents 8636251a479c
children 431f430082e9
files lisp/eshell/em-cmpl.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/eshell/em-cmpl.el	Fri May 18 16:38:58 2001 +0000
+++ b/lisp/eshell/em-cmpl.el	Fri May 18 16:39:29 2001 +0000
@@ -306,7 +306,7 @@
   "Return the command name, possibly sans globbing."
   (let ((cmd (file-name-nondirectory (pcomplete-arg 'first))))
     (setq cmd (if (and (> (length cmd) 0)
-		       (eq (aref cmd 0) ?*))
+		       (eq (aref cmd 0) eshell-explicit-command-char))
 		  (substring cmd 1)
 		cmd))
     (if (eshell-under-windows-p)
@@ -396,7 +396,7 @@
     (if (file-name-directory filename)
 	(pcomplete-executables)
       (if (and (> (length filename) 0)
-	       (eq (aref filename 0) ?*))
+	       (eq (aref filename 0) eshell-explicit-command-char))
 	  (setq filename (substring filename 1)
 		pcomplete-stub filename
 		glob-name t))