Ver a proveniência

use post-command-hook for auto revert

pull/1/head
10sr há 12 anos
ascendente
cometimento
c42a815ac4
1 ficheiros alterados com 1 adições e 1 eliminações
  1. +1
    -1
      emacs.el

+ 1
- 1
emacs.el Ver ficheiro

@@ -1879,7 +1879,7 @@ this is test, does not rename files"
(not (verify-visited-file-modtime (current-buffer))))
(revert-buffer t t))))

(add-hook 'window-configuration-change-hook
(add-hook 'post-command-hook ; 'window-configuration-change-hook
'my-revert-buffer-if-needed)

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;


Carregando…
Cancelar
Guardar