Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions bufferlo.el
Original file line number Diff line number Diff line change
Expand Up @@ -3013,7 +3013,7 @@ Returns nil on success, non-nil on abort."
'restore-geometry))
(selected-frame))))
(with-selected-frame frame
(when new-frame-p
(when (or new-frame-p bufferlo--bookmark-set-loading)
;; Restore name
(when bufferlo-bookmark-frame-persist-frame-name
(when-let* ((frame-name (alist-get 'bufferlo--frame-name bookmark)))
Expand Down Expand Up @@ -3079,10 +3079,10 @@ Returns nil on success, non-nil on abort."
'bufferlo-bookmark-frame-handler-functions
bookmark-name
fbm
new-frame-p
(or new-frame-p bufferlo--bookmark-set-loading)
frame)))

(unless (or new-frame-p pop-up-frames)
(unless (or new-frame-p bufferlo--bookmark-set-loading pop-up-frames)
;; Switch to the to-be-selected buffer in the current frame.
;; This is a workaround for bookmark-jump if called with display-func
;; set to something like pop-to-buffer-same-window (the default).
Expand Down