mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-24 06:20:43 -08:00
Don't use pdumper-stats with unexec
* lisp/emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): Check if pdumper-stats is bound before using it.
This commit is contained in:
parent
e5b93f6c14
commit
65fe1777e6
1 changed files with 2 additions and 1 deletions
|
|
@ -5311,7 +5311,8 @@ already up-to-date."
|
|||
"Reload any Lisp file that was changed since Emacs was dumped.
|
||||
Use with caution."
|
||||
(let* ((argv0 (car command-line-args))
|
||||
(emacs-file (or (cdr (nth 2 (pdumper-stats)))
|
||||
(emacs-file (or (and (fboundp 'pdumper-stats)
|
||||
(cdr (nth 2 (pdumper-stats))))
|
||||
(executable-find argv0))))
|
||||
(if (not (and emacs-file (file-exists-p emacs-file)))
|
||||
(message "Can't find %s to refresh preloaded Lisp files" argv0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue