Ver a proveniência

Set modified flag

master
10sr há 5 anos
ascendente
cometimento
1d83eb1776
Assinados por: 10sr ID da chave GPG: 7BEC428194130EB2
1 ficheiros alterados com 3 adições e 3 eliminações
  1. +3
    -3
      emacs.el

+ 3
- 3
emacs.el Ver ficheiro

@@ -1,6 +1,6 @@
;;; emacs.el --- 10sr emacs initialization

;; Time-stamp: <2018-10-12 19:03:01 JST 10sr>
;; Time-stamp: <2018-10-12 19:04:59 JST 10sr>

;;; Code:

@@ -2349,7 +2349,6 @@ Result will be inserted into current buffer."
"cat-file"
"-p"
blob))
;; FIXME: Ask for file name when C-xC-s is given
(setq buffer-file-name
(concat (git-walktree--git-plumbing "rev-parse"
"--show-toplevel")
@@ -2357,9 +2356,10 @@ Result will be inserted into current buffer."
commitish
":"
path))
(set-buffer-modified-p nil)
(normal-mode t)
;; For asking filename when C-xC-s
(setq buffer-file-name nil)
(set-buffer-modified-p t)

(setq git-walktree-current-commitish commitish)
(setq git-walktree-current-path path)


Carregando…
Cancelar
Guardar