Skip to main content
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