瀏覽代碼

Push mark when not set yet

master
10sr 4 年之前
父節點
當前提交
2f9a30d1d1
簽署人: 10sr GPG Key ID: 7BEC428194130EB2
共有 1 個文件被更改,包括 4 次插入3 次删除
  1. +4
    -3
      emacs.el

+ 4
- 3
emacs.el 查看文件

@@ -534,9 +534,10 @@ Otherwize hook it."
;; (when (fboundp 'visible-mark-move-overlays)
;; (visible-mark-move-overlays))
))
(add-hook 'find-file-hook
'push-mark
t)
(add-hook 'switch-buffer-functions
(lambda (&rest _)
(unless (mark t)
(push-mark))))

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


Loading…
取消
儲存