diff options
| author | Vitalie Spinu <spinuvit@gmail.com> | 2019-04-16 21:32:11 +0200 |
|---|---|---|
| committer | Vitalie Spinu <spinuvit@gmail.com> | 2019-04-16 21:32:40 +0200 |
| commit | 4cdf1e4285239ace47e7e16d4814518a66ccc19a (patch) | |
| tree | 2dde6ac177ce27beaa5d6a888587799720929be3 | |
| parent | 55067647d2c169e191f12f1922117c348abd9a03 (diff) | |
Make ess-lisp-directory be really a directory name
| -rw-r--r-- | lisp/ess-custom.el | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/lisp/ess-custom.el b/lisp/ess-custom.el index e438bb2..bae85af 100644 --- a/lisp/ess-custom.el +++ b/lisp/ess-custom.el @@ -126,10 +126,9 @@ ;;;###autoload (defcustom ess-lisp-directory - (directory-file-name - (file-name-directory - (or load-file-name - buffer-file-name))) + (file-name-directory + (or load-file-name + buffer-file-name)) "Directory containing ess-site.el(c) and other ESS Lisp files." :group 'ess :type 'directory @@ -154,7 +153,7 @@ for ESS, such as icons." ;; the `lisp' directory. For this reason we need to add it before we ;; start requiring ESS files ;;;###autoload -(add-to-list 'load-path (file-name-as-directory ess-lisp-directory)) +(add-to-list 'load-path ess-lisp-directory) ;; Add ess-lisp-directory/obsolete to load-path; files here will ;; automatically warn that they are obsolete when loaded. ;;;###autoload |
