]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix regression with bookmark annotations
authorEshel Yaron <me@eshelyaron.com>
Fri, 21 Jun 2024 08:59:09 +0000 (10:59 +0200)
committerEshel Yaron <me@eshelyaron.com>
Fri, 21 Jun 2024 18:48:21 +0000 (20:48 +0200)
lisp/bookmark.el

index 05757309bc1b4f93e5bfb246855d454ceaf28869..50767fce671fe705a703349ad02030c8a11c074f 100644 (file)
@@ -996,7 +996,10 @@ still there, in order, if the topmost one is ever deleted."
         (bookmark-store name record t))
        (t
         (error "Unrecognized value for `overwrite-or-push': %S"
-               overwrite-or-push))))))
+               overwrite-or-push)))
+      (when bookmark-fringe-mark (bookmark--set-fringe-mark))))
+  ;; Ask for an annotation buffer for this bookmark
+  (when bookmark-use-annotations (bookmark-edit-annotation name)))
 
 (defun bookmark-default-name ()
   (let ((record (bookmark-make-record)))