From a37b33ded364294b7bb9b0a8c8783255a73143b4 Mon Sep 17 00:00:00 2001 From: 10sr <8.slashes@gmail.com> Date: Fri, 12 Oct 2018 13:21:46 +0900 Subject: [PATCH] Set modified flag --- emacs.el | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/emacs.el b/emacs.el index 851e99a..9a9619f 100644 --- a/emacs.el +++ b/emacs.el @@ -1,6 +1,6 @@ ;;; emacs.el --- 10sr emacs initialization -;; Time-stamp: <2018-10-12 13:14:35 JST 10sr> +;; Time-stamp: <2018-10-12 13:19:25 JST 10sr> ;;; Code: @@ -2288,9 +2288,11 @@ use for the buffer. It defaults to \"*recetf-show*\"." "ls-tree" ;; "-r" "--abbrev" + treeish)) - (git-revision-mode) (goto-char point) + (git-revision-mode) + (set-buffer-modified-p nil) (setq git-revision-current-commitish commitish) (setq git-revision-current-path path) @@ -2337,6 +2339,7 @@ Result will be inserted into current buffer." commitish ":" path)) + (set-buffer-modified-p nil) (normal-mode t) (setq git-revision-current-commitish commitish)