aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/eshell/em-script.el
diff options
context:
space:
mode:
authorChong Yidong2009-09-13 02:16:25 +0000
committerChong Yidong2009-09-13 02:16:25 +0000
commit42c3a9e31dd7cf6ea27ccbe41f0129cbb5d3a840 (patch)
tree495d89024ee70a1965847aa4c08d7e571a7f00d9 /lisp/eshell/em-script.el
parent1e2b6acfd27f40de73c37bdf0d06ba58c4c44700 (diff)
downloademacs-42c3a9e31dd7cf6ea27ccbe41f0129cbb5d3a840.tar.gz
emacs-42c3a9e31dd7cf6ea27ccbe41f0129cbb5d3a840.zip
* eshell/em-hist.el:
* eshell/em-dirs.el (eshell-complete-user-reference): Declare pcomplete functions and variables to avoid compiler warnings. * eshell/em-script.el (eshell-login-script, eshell-rc-script): * eshell/em-dirs.el (eshell-last-dir-ring-file-name): * eshell/em-alias.el (eshell-aliases-file): * eshell/em-hist.el (eshell-history-file-name): Use expand-file-name instead of concat to make file names (Bug#4308).
Diffstat (limited to 'lisp/eshell/em-script.el')
-rw-r--r--lisp/eshell/em-script.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/eshell/em-script.el b/lisp/eshell/em-script.el
index fbe10278c37..2d063ea4c2c 100644
--- a/lisp/eshell/em-script.el
+++ b/lisp/eshell/em-script.el
@@ -40,14 +40,14 @@ commands, as a script file."
40 :type 'hook 40 :type 'hook
41 :group 'eshell-script) 41 :group 'eshell-script)
42 42
43(defcustom eshell-login-script (concat eshell-directory-name "login") 43(defcustom eshell-login-script (expand-file-name "login" eshell-directory-name)
44 "*If non-nil, a file to invoke when starting up Eshell interactively. 44 "*If non-nil, a file to invoke when starting up Eshell interactively.
45This file should be a file containing Eshell commands, where comment 45This file should be a file containing Eshell commands, where comment
46lines begin with '#'." 46lines begin with '#'."
47 :type 'file 47 :type 'file
48 :group 'eshell-script) 48 :group 'eshell-script)
49 49
50(defcustom eshell-rc-script (concat eshell-directory-name "profile") 50(defcustom eshell-rc-script (expand-file-name "profile" eshell-directory-name)
51 "*If non-nil, a file to invoke whenever Eshell is started. 51 "*If non-nil, a file to invoke whenever Eshell is started.
52This includes when running `eshell-command'." 52This includes when running `eshell-command'."
53 :type 'file 53 :type 'file