summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bookmark-conf.el12
1 files changed, 12 insertions, 0 deletions
diff --git a/bookmark-conf.el b/bookmark-conf.el
index 9de3d8d..4e47910 100644
--- a/bookmark-conf.el
+++ b/bookmark-conf.el
@@ -146,5 +146,17 @@ ARGS are ignored."
:after
#'durand-bookmark-jump-fit-to-window)
+;;; Display of the list
+
+(cond
+ ((assoc blist-buffer-name display-buffer-alist #'string-match-p)
+ (setcdr (assoc durand-chercher-pdf-buffer-name
+ display-buffer-alist #'string-match-p)
+ '((display-buffer-same-window))))
+ (t
+ (add-to-list 'display-buffer-alist
+ `(,(rx bos (eval blist-buffer-name) eos)
+ (display-buffer-same-window)))))
+
(provide 'bookmark-conf)
;;; bookmark-conf.el ends here