branch: externals/bufferlo commit d8c3a667856715f1e3b6dcdab10a898f82f06067 Author: shipmints <shipmi...@gmail.com> Commit: shipmints <shipmi...@gmail.com>
Change b-bookmark-prefer-saveplace-point to b-bookmark-inhibit-bookmark-point Remove the runtime test for saveplace mode in favor of documentation. This allows users to save buffer places using other than saveplace mode. --- bufferlo.el | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/bufferlo.el b/bufferlo.el index 4748adc4b2..f1962c0b71 100644 --- a/bufferlo.el +++ b/bufferlo.el @@ -150,8 +150,9 @@ without remorse including those with running processes such as (const :tag "Kill modified buffers without prompting" kill-modified) (const :tag "Default Emacs behavior (will prompt)" nil))) -(defcustom bufferlo-bookmark-prefer-saveplace-point nil - "If non-nil, and `save-place-mode' mode is on, inhibit point in bookmarks." +(defcustom bufferlo-bookmark-inhibit-bookmark-point nil + "If non-nil, inhibit point in bookmarks. +This is useful when `save-place-mode' mode is enabled." :type 'boolean) (defcustom bufferlo-bookmark-buffers-exclude-filters nil @@ -1861,10 +1862,8 @@ In contrast to `bufferlo-anywhere-mode', this does not adhere to (dolist (fn bufferlo-bookmark-map-functions) (setq record (funcall fn record))) (when (and - bufferlo-bookmark-prefer-saveplace-point - record - (featurep 'saveplace) - save-place-mode) + bufferlo-bookmark-inhibit-bookmark-point + record) (bookmark-set-position record nil)) (list (buffer-name buffer) record))))