diff --git a/emacs.el b/emacs.el index 3945452..3068f7f 100644 --- a/emacs.el +++ b/emacs.el @@ -540,7 +540,8 @@ Otherwize hook it." )) (add-hook 'switch-buffer-functions (lambda (&rest _) - (unless (mark t) + (unless (or (mark t) + (minibufferp)) (push-mark)))) (when (fboundp 'back-button-mode)