Explorar el Código

Remove

master
10sr hace 5 años
padre
commit
aee6e65aa8
Firmado por: 10sr ID de clave GPG: 7BEC428194130EB2
Se han modificado 1 ficheros con 7 adiciones y 4 borrados
  1. +7
    -4
      emacs.el

+ 7
- 4
emacs.el Ver fichero

@@ -2488,10 +2488,13 @@ Any output will be written to current buffer."

;; always execute dired-k when dired buffer is opened and reverted
(add-hook 'dired-after-readin-hook #'dired-k-no-revert)
(add-hook 'switch-buffer-functions
(lambda (prev cur)
(when (derived-mode-p 'dired-mode)
(dired-k-no-revert))))

;; This causes:
;; fatal: Unable to create '.git/index.lock': File exist.s
;; (add-hook 'switch-buffer-functions
;; (lambda (prev cur)
;; (when (derived-mode-p 'dired-mode)
;; (dired-k-no-revert))))
)

(add-hook 'python-mode-hook


Cargando…
Cancelar
Guardar