[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Disabling eldoc-mode during isearch-mode
From: |
Nordlöw |
Subject: |
Disabling eldoc-mode during isearch-mode |
Date: |
Wed, 23 Sep 2009 02:10:15 -0700 (PDT) |
User-agent: |
G2/1.0 |
I'm trying to disable eldoc-mode during isearch-mode to prevent
flickering caused by their minibuffer-competition.
I found this
(defadvice eldoc-display-message-no-interference-p (around not-during-
isearch)
"Prevent eldoc from displaying during isearch."
(unless isearch-mode) ad-do-it)
to do the job but only after having disabled and enabled eldoc-mode
manually in each buffer that should use this behaviour.
I also noticed that C-h f eldoc-display-message-no-interference-p only
says that function is advice once i evaluate it manually after having
adviced it.
Does it have something to do byte-compiling?
Thanks in advance,
Per Nordlöw
- Disabling eldoc-mode during isearch-mode,
Nordlöw <=