Browse Source

Add eldoc-mode disable on python-mode

master
10sr 4 years ago
parent
commit
9b40d90702
Signed by: 10sr GPG Key ID: 7BEC428194130EB2
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      emacs.el

+ 7
- 0
emacs.el View File

@@ -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…
Cancel
Save