]> git.eshelyaron.com Git - emacs.git/commitdiff
Make user-emacs-directory a variable
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 1 Sep 2019 01:17:20 +0000 (18:17 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 1 Sep 2019 01:17:57 +0000 (18:17 -0700)
This is in response to Eli’s review here:
https://lists.gnu.org/r/emacs-devel/2019-07/msg00712.html
* lisp/subr.el (user-emacs-directory): defvar, not defconst

lisp/subr.el

index cf6fb108e9c3f9637d4456569ecefff5d0d3d9c3..0d7bffb35f35f36521a43656d99056c972da4067 100644 (file)
@@ -2937,7 +2937,7 @@ When the hook runs, the temporary buffer is current.
 This hook is normally set up with a function to put the buffer in Help
 mode.")
 
-(defconst user-emacs-directory
+(defvar user-emacs-directory
   ;; The value does not matter since Emacs sets this at startup.
   nil
   "Directory beneath which additional per-user Emacs-specific files are placed.