New answers tagged hooks
0
Open the logbook and use C-h m to find out what the major mode is. You’ll also find there any documentation for the mode, the keybindings that are active, and a link to the source code should you need it.
As a general rule, Emacs is intended to be self–documenting; you can always ask Emacs what is going on, and it always gives you as much information as it ...
2
It depends on what kind of changes you make. There's nothing special about code invoked from a hook.
If you set a global variable it remains set until something sets it differently or makunbounds it.
Your question is general, so the answer is general. If you pose a specific question, e.g. with some code, specific answers can likely be given.
Top 50 recent answers are included
Related Tags
hooks × 307org-mode × 30
minor-mode × 16
elisp × 15
init-file × 14
buffers × 12
key-bindings × 11
window × 10
major-mode × 8
themes × 8
advice × 8
files × 7
buffer-local × 7
spacemacs × 6
use-package × 6
saving × 6
magit × 5
evil × 5
frames × 5
scrolling × 5
kill-buffer × 5
exit × 5
python × 4
org-agenda × 4
debugging × 4