瀏覽代碼

Remove mark in minibuffer

master
10sr 4 年之前
父節點
當前提交
847685397c
簽署人: 10sr GPG 金鑰 ID: 7BEC428194130EB2
共有 1 個檔案被更改,包括 5 行新增0 行删除
  1. +5
    -0
      emacs.el

+ 5
- 0
emacs.el 查看文件

@@ -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…
取消
儲存