From 9b40d90702104c443b443609f317229b2ee20251 Mon Sep 17 00:00:00 2001 From: 10sr <8.slashes@gmail.com> Date: Thu, 31 Oct 2019 20:21:07 +0900 Subject: [PATCH] Add eldoc-mode disable on python-mode --- emacs.el | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/emacs.el b/emacs.el index 2dd32c3..d883d04 100644 --- a/emacs.el +++ b/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