From 6c4a750d0ceb1bc6f6833748642eea624253f75a Mon Sep 17 00:00:00 2001 From: 10sr <8.slashes@gmail.com> Date: Tue, 28 Jan 2020 00:09:44 +0900 Subject: [PATCH] Move python config --- emacs.el | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/emacs.el b/emacs.el index 75217ee..e8e1d74 100644 --- a/emacs.el +++ b/emacs.el @@ -1680,6 +1680,13 @@ ORIG-FUNC is the target function, and ARGS is the argument when it is called." ;; Run multiple chekcers ;; https://github.com/flycheck/flycheck/issues/186 +(add-hook 'python-mode-hook + (lambda () + ;; Currently on python-mode eldoc-mode sometimes print + ;; wired message on "from" keyword: + ;;var from = require("./from") + (eldoc-mode -1))) + ;; http://fukuyama.co/foreign-regexp '(and (require 'foreign-regexp nil t) @@ -2891,13 +2898,6 @@ Any output will be written to current buffer." ;; (dired-k-no-revert)))) ) -(add-hook 'python-mode-hook - (lambda () - ;; Currently on python-mode eldoc-mode sometimes print - ;; wired message on "from" keyword: - ;;var from = require("./from") - (eldoc-mode -1))) - ;; ? (define-key input-decode-map "\e[1;5C" [C-right]) (define-key input-decode-map "\e[1;5D" [C-left])