diff options
author | Spencer Baugh <sbaugh@catern.com> | 2020-11-15 13:32:05 -0500 |
---|---|---|
committer | Spencer Baugh <sbaugh@catern.com> | 2020-11-15 13:32:05 -0500 |
commit | 802fa5b9d1b166568243a514a64bb9fc78ceb60d (patch) | |
tree | 0c3d607111eccf10e5e86308d3cb081e450660dd | |
parent | e4fcc9aed14abc5fd5acd38ca4d5384d993a625b (diff) |
emacs: properly calculate the path of the src directory
-rw-r--r-- | pkgs/applications/editors/emacs/site-start.el | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/pkgs/applications/editors/emacs/site-start.el b/pkgs/applications/editors/emacs/site-start.el index de4708b88908..2f02d6d1a86d 100644 --- a/pkgs/applications/editors/emacs/site-start.el +++ b/pkgs/applications/editors/emacs/site-start.el @@ -52,9 +52,6 @@ least specific (the system profile)" (file-name-directory load-file-name)))) ; .../emacs/site-lisp/ (version (file-name-as-directory - (concat - (number-to-string emacs-major-version) - "." - (number-to-string emacs-minor-version)))) + emacs-version)) (src (file-name-as-directory "src"))) (setq find-function-C-source-directory (concat emacs version src))) |