[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Disabling Eldoc by default
From: |
Josh Wasserstein |
Subject: |
Re: Disabling Eldoc by default |
Date: |
Tue, 8 Jul 2014 11:28:39 -0400 |
Thanks Alexander. That was helpful. I have tried restarting Emacs a few
times, and I know for sure there aren't any direct references to Eldoc or
Elpy (which I uninstalled) in my .emacs file.
My current python-mode hook has the following value (my-python-mode-hook is
the only function I defined manually and only includes (linum-mode 1)).
=====================
Value: (jedi:setup
(lambda nil
(setq ffap-alist
(remove
'(python-mode . py-ffap-module-path)
ffap-alist))
(setq ffap-alist
(remove
'(python-mode . py-module-path)
ffap-alist))
(setq ffap-alist
(remove
'(inferior-python-mode . py-ffap-module-path)
ffap-alist)))
#[nil " \304\302!\210\305 \304\303!\210\306\211 \207"
[py-indent-tabs-mode indent-tabs-mode beginning-of-defun-function
end-of-defun-function make-local-variable py-beginning-of-def-or-class
py-end-of-def-or-class]
2]
py-set-ffap-form my-python-mode-hook)
Original value was nil
=====================
Josh
On Tue, Jul 8, 2014 at 11:19 AM, Alexander Baier <
alexander.baier@mailbox.org> wrote:
> On 2014-07-08 16:30 Josh Wasserstein wrote:
>
> [...]
>
> > install and later uninstall elpy
> > <https://github.com/jorgenschaefer/elpy>.
> >
> > How can I disable Eldoc by default on all my buffers?
>
> Just a shot in the dark: Is it possible that elpy added the activation
> of eldoc to the python-mode-hook? I think merely uninstalling it will
> not removed said hook. You will probably have to restart emacs or edit
> the python-mode-hook variable by hand.
>
> HTH,
> --
> Alexander Baier
>