summaryrefslogtreecommitdiff
path: root/org-journal-conf.el
diff options
context:
space:
mode:
authorJSDurand <mmemmew@gmail.com>2023-06-18 16:45:25 +0800
committerJSDurand <mmemmew@gmail.com>2023-06-18 16:45:25 +0800
commit3d8fffd03f44e5734e96cb76ea5b29b544955697 (patch)
tree2b3c592da1e49fc273fade71c919a06fc621cbd3 /org-journal-conf.el
parent7129d2947b11dc5104e5ae21d6fadd1bc42c1103 (diff)
desktop: Do not save bookmarks in the hook
* desktop-conf.el (durand-bookmark-save): I do not want to save bookmarks as a consequence of saving the desktop file now. (desktop-save-hook): Remove the previous function from the hook. (ctl-x-r-map): And remove the binding to save desktop files. Basically my plan is to have a keybinding that saves the bookmarks only, by default. When I want to save the desktop file as well, I pass an interactive universal prefix argument to the responsible function. I think this works better than to save both by default: it is kind of a waste of computing power, from my point of view. But of course I still want to save bookmarks if Emacs accidentally crashes and it saves the desktop file because of that. Thus we shall use a variable to control this behaviour, in order not to cause infinite recursion.
Diffstat (limited to 'org-journal-conf.el')
0 files changed, 0 insertions, 0 deletions