diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2016-05-22 17:29:58 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2016-05-22 17:30:34 -0700 |
commit | 18a9bc1152452fecfa09e6f2f3a5d6677a564977 (patch) | |
tree | b711a60aeab9ba2b9719fbb5dfdf9d14abf1d288 /lisp/emacs-lisp/cl-lib.el | |
parent | 2671179b11a9423792aaf2439a26a2562679c086 (diff) | |
download | emacs-18a9bc1152452fecfa09e6f2f3a5d6677a564977.tar.gz emacs-18a9bc1152452fecfa09e6f2f3a5d6677a564977.tar.bz2 emacs-18a9bc1152452fecfa09e6f2f3a5d6677a564977.zip |
Do not trash symlinks to init file
If the user’s init file is a symbolic link, do not break the link
when initializing the package system. Problem reported by Jackson
Hamilton (Bug#23050).
* lisp/emacs-lisp/package.el (package--ensure-init-file):
Bind find-file-visit-truename when visiting the init file, and
save and restore the buffer name the way cus-edit does in a
similar situation (Bug#454).
Diffstat (limited to 'lisp/emacs-lisp/cl-lib.el')
0 files changed, 0 insertions, 0 deletions