GNU bug report logs -
#41691
[PATCH] Add bookmark-jump-other-tab
Previous Next
Reported by: Javier Olaechea <pirata <at> gmail.com>
Date: Wed, 3 Jun 2020 17:09:01 UTC
Severity: normal
Tags: fixed, patch
Fixed in version 28.0.50
Done: Juri Linkov <juri <at> linkov.net>
Bug is archived. No further changes may be made.
Full log
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* lisp/bookmark.el (bookmark-jump-other-tab): Add function to open a
bookmark on another tab
---
lisp/bookmark.el | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/lisp/bookmark.el b/lisp/bookmark.el
index 5bb1698171..99bb70ae0e 100644
--- a/lisp/bookmark.el
+++ b/lisp/bookmark.el
@@ -1142,6 +1142,14 @@ bookmark-jump-other-frame
(let ((pop-up-frames t))
(bookmark-jump-other-window bookmark)))
+;;;###autoload
+(defun bookmark-jump-other-tab (bookmark)
+ "Jump to BOOKMARK in another tab. See `bookmark-jump' for more."
+ (interactive
+ (list (bookmark-completing-read "Jump to bookmark (in another tab)"
+ bookmark-current-bookmark)))
+ (bookmark-jump bookmark 'switch-to-buffer-other-tab))
+
(defun bookmark-jump-noselect (bookmark)
"Return the location pointed to by BOOKMARK (see `bookmark-jump').
The return value has the form (BUFFER . POINT).
--
2.17.1
This bug report was last modified 5 years and 56 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.