emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/blist acb8192f42: Fix an error in `blist-select'


From: ELPA Syncer
Subject: [elpa] externals/blist acb8192f42: Fix an error in `blist-select'
Date: Sun, 28 Aug 2022 11:57:26 -0400 (EDT)

branch: externals/blist
commit acb8192f426243986fcc165393d95c18c5cf19ad
Author: JSDurand <mmemmew@gmail.com>
Commit: JSDurand <mmemmew@gmail.com>

    Fix an error in `blist-select'
    
    * blist.el (blist-select): The function `bookmark-jump' expects the
      argument to be a string, so we shall give it a string.  Otherwise,
      we will end up having non-string elements in the variable
      `bookmark-history', and then we won't be able to inspect the
      bookmark history later in `bookmark-jump'.
---
 blist.el | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/blist.el b/blist.el
index 3a5e2b1bf8..ed96ac7472 100644
--- a/blist.el
+++ b/blist.el
@@ -888,7 +888,8 @@ controls how multiple bookmarks are selected."
          (orig-window (car windows)))
     (while (consp windows)
       (select-window (car windows))
-      (bookmark-jump (car marked-items))
+      (bookmark-jump
+       (bookmark-name-from-full-record (car marked-items)))
       (setq marked-items (cdr marked-items))
       (setq windows (cdr windows)))
     (select-window orig-window)))
@@ -1440,6 +1441,8 @@ get unique numeric suffixes \"<2>\", \"<3>\", etc."
    ((ilist-get-index) (blist-open))
    ((user-error "Nothing to do here"))))
 
+;; TODO: Hide all other groups
+
 ;;;; Toggle location display
 
 (defun blist-toggle-location ()



reply via email to

[Prev in Thread] Current Thread [Next in Thread]