You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello and thanks for making this package! I tried this package and like it!
I'm using Emacs29. The only problem I have is when I use bookmark-view with dired buffers, the dired buffers cannot be restored after restart, it told me Buffer xxx not found.
I found that bookmark-make-record-default is not used as dired buffers have nilbuffer-file-name.
I tweaked bookmark-view--make-record, it works, but since I'm not familiar with emacs lisp, I don't know if this is the right way to do it.
(defun bookmark-view--make-record ()
"Return a new bookmark record for the current buffer.
The current buffer must not have a backing file."
- (if (and (not buffer-file-name)+ (if (and (not (bookmark-buffer-file-name))
(eq bookmark-make-record-function #'bookmark-make-record-default))
`(,(bookmark-buffer-name)
(buffer . ,(buffer-name))
(handler . ,#'bookmark-view-handler-fallback))
(bookmark-make-record)))
The text was updated successfully, but these errors were encountered:
Hello and thanks for making this package! I tried this package and like it!
I'm using Emacs29. The only problem I have is when I use
bookmark-view
with dired buffers, the dired buffers cannot be restored after restart, it told me Buffer xxx not found.I found that
bookmark-make-record-default
is not used as dired buffers havenil
buffer-file-name
.I tweaked
bookmark-view--make-record
, it works, but since I'm not familiar with emacs lisp, I don't know if this is the right way to do it.The text was updated successfully, but these errors were encountered: