Ver a proveniência

update auto-revert

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

+ 5
- 3
emacs.el Ver ficheiro

@@ -1695,10 +1695,12 @@ this is test, does not rename files"
(interactive)
(unless (eq my-revert-buffer-if-needed-last-buffer (current-buffer))
(setq my-revert-buffer-if-needed-last-buffer (current-buffer))
(when (or (eq major-mode 'dired-mode)
(when (or (and (eq major-mode 'dired-mode)
(dired-directory-changed-p default-directory))
(not (verify-visited-file-modtime (current-buffer))))
(revert-buffer t t)
(message "%s reverted." (buffer-name)))))
(message "%s reverted." (buffer-name))
)))

(add-hook 'post-command-hook ; 'window-configuration-change-hook
'my-revert-buffer-if-needed)
@@ -1766,7 +1768,7 @@ this is test, does not rename files"

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; ubuntu
;; japanese input method

(defun my-load-scim ()
"use scim-bridge.el as japanese im."


Carregando…
Cancelar
Guardar