Add bookmark-save-flag

This commit is contained in:
James Cherti
2025-10-12 15:13:57 -04:00
parent 7a16448e98
commit b40ad4f962

View File

@@ -120,6 +120,10 @@
;; Disable auto-adding a new line at the bottom when scrolling. ;; Disable auto-adding a new line at the bottom when scrolling.
(setq next-line-add-newlines nil) (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 ;;; Files
;; Delete by moving to trash in interactive mode ;; Delete by moving to trash in interactive mode