From b40ad4f962e29d2bce412e00cfadb72e133ec076 Mon Sep 17 00:00:00 2001 From: James Cherti <60946298+jamescherti@users.noreply.github.com> Date: Sun, 12 Oct 2025 15:13:57 -0400 Subject: [PATCH] Add bookmark-save-flag --- init.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/init.el b/init.el index 5c4a9d7..07ba02f 100644 --- a/init.el +++ b/init.el @@ -120,6 +120,10 @@ ;; Disable auto-adding a new line at the bottom when scrolling. (setq next-line-add-newlines nil) +;; This setting forces Emacs to save bookmarks immediately after each change. +;; Benefit: you never lose bookmarks if Emacs crashes. +(setq bookmark-save-flag 1) + ;;; Files ;; Delete by moving to trash in interactive mode