Timeline for Help? - Freeze up to 10 seconds happening on windows when exiting (kill-emacs) when desktop-save-mode and back-button-mode are enabled
Current License: CC BY-SA 4.0
2 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jul 31, 2019 at 4:10 | comment | added | lawlist | (remove-hook 'kill-emacs-hook 'pcache-kill-emacs-hook) will serve to remove the function pcache-kill-emacs-hook from the kill-emacs-hook only if the function was previously added thereto. If, for example, we called (remove-hook 'kill-emacs-hook 'pcache-kill-emacs-hook) before the pcache.el library had been loaded, then our attempt would fail because the function had not yet been added to the hook .... Thus, adding (remove-hook 'kill-emacs-hook 'pcache-kill-emacs-hook) to the tail end of the .emacs file is sufficient. | |
| Jul 31, 2019 at 3:27 | history | answered | Lauris | CC BY-SA 4.0 |