瀏覽代碼

Add eldoc-mode disable on python-mode

master
10sr 5 年之前
父節點
當前提交
9b40d90702
簽署人: 10sr GPG 金鑰 ID: 7BEC428194130EB2
共有 1 個檔案被更改,包括 7 行新增0 行删除
  1. +7
    -0
      emacs.el

+ 7
- 0
emacs.el 查看文件

@@ -2462,6 +2462,13 @@ Any output will be written to current buffer."
(add-hook 'dired-after-readin-hook #'dired-k-no-revert)
)

(add-hook 'python-mode
(lambda ()
;; Currently on python-mode eldoc-mode sometimes print
;; wired message on "from" keyword:
;;var from = require("./from")
(eldoc-mode -1)))

;; Local Variables:
;; flycheck-disabled-checkers: (emacs-lisp-checkdoc)
;; flycheck-checker: emacs-lisp


Loading…
取消
儲存