浏览代码

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


正在加载...
取消
保存