Browse Source

Remove mark in minibuffer

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

+ 5
- 0
emacs.el View File

@@ -543,6 +543,11 @@ Otherwize hook it."
(unless (or (mark t)
(minibufferp))
(push-mark))))
(add-hook 'switch-buffer-functions
(lambda (&rest _)
(when (minibufferp)
;; Remove mark in minibuffer
(set-mark nil))))

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


Loading…
Cancel
Save