Explorar el Código

use post-command-hook for auto revert

pull/1/head
10sr hace 12 años
padre
commit
c42a815ac4
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      emacs.el

+ 1
- 1
emacs.el Ver fichero

@@ -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)

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


Cargando…
Cancelar
Guardar