comparison lisp/eshell/em-alias.el @ 104994:48428e99bf83

* 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).
author Chong Yidong <cyd@stupidchicken.com>
date Sun, 13 Sep 2009 02:16:25 +0000
parents a9dc0e7c3f2b
children 1d1d5d9bd884
comparison
equal deleted inserted replaced
104993:403125cdfb24 104994:48428e99bf83
100 "Command aliases allow for easy definition of alternate commands." 100 "Command aliases allow for easy definition of alternate commands."
101 :tag "Command aliases" 101 :tag "Command aliases"
102 ;; :link '(info-link "(eshell)Command aliases") 102 ;; :link '(info-link "(eshell)Command aliases")
103 :group 'eshell-module) 103 :group 'eshell-module)
104 104
105 (defcustom eshell-aliases-file (concat eshell-directory-name "alias") 105 (defcustom eshell-aliases-file (expand-file-name "alias" eshell-directory-name)
106 "*The file in which aliases are kept. 106 "*The file in which aliases are kept.
107 Whenever an alias is defined by the user, using the `alias' command, 107 Whenever an alias is defined by the user, using the `alias' command,
108 it will be written to this file. Thus, alias definitions (and 108 it will be written to this file. Thus, alias definitions (and
109 deletions) are always permanent. This approach was chosen for the 109 deletions) are always permanent. This approach was chosen for the
110 sake of simplicity, since that's pretty much the only benefit to be 110 sake of simplicity, since that's pretty much the only benefit to be