From 810e38ac759b0dfefdf507b0f4bd29da161ad9b0 Mon Sep 17 00:00:00 2001 From: 10sr <8.slashes@gmail.com> Date: Wed, 29 Jan 2020 16:09:09 +0900 Subject: [PATCH] Push mark when find-file --- emacs.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/emacs.el b/emacs.el index 2df3617..eea2d1e 100644 --- a/emacs.el +++ b/emacs.el @@ -534,6 +534,9 @@ Otherwize hook it." ;; (when (fboundp 'visible-mark-move-overlays) ;; (visible-mark-move-overlays)) )) +(add-hook 'find-file-hook + 'push-mark + t) (when (fboundp 'back-button-mode) (back-button-mode 1))