Browse Source

Do not push mark in minibuffer

master
10sr 4 years ago
parent
commit
32a62a6b50
Signed by: 10sr GPG Key ID: 7BEC428194130EB2
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      emacs.el

+ 2
- 1
emacs.el View File

@@ -540,7 +540,8 @@ Otherwize hook it."
)) ))
(add-hook 'switch-buffer-functions (add-hook 'switch-buffer-functions
(lambda (&rest _) (lambda (&rest _)
(unless (mark t)
(unless (or (mark t)
(minibufferp))
(push-mark)))) (push-mark))))


(when (fboundp 'back-button-mode) (when (fboundp 'back-button-mode)


Loading…
Cancel
Save