浏览代码

Remove

master
10sr 5 年前
父节点
当前提交
aee6e65aa8
签署人:: 10sr GPG 密钥 ID: 7BEC428194130EB2
共有 1 个文件被更改,包括 7 次插入4 次删除
  1. +7
    -4
      emacs.el

+ 7
- 4
emacs.el 查看文件

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


正在加载...
取消
保存