all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Disabling eldoc-mode during isearch-mode
@ 2009-09-23  9:10 Nordlöw
  2009-09-23  9:42 ` Lennart Borgman
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Nordlöw @ 2009-09-23  9:10 UTC (permalink / raw)
  To: help-gnu-emacs

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-09-24 10:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-23  9:10 Disabling eldoc-mode during isearch-mode Nordlöw
2009-09-23  9:42 ` Lennart Borgman
2009-09-23 14:58 ` Kevin Rodgers
     [not found] ` <mailman.7337.1253717929.2239.help-gnu-emacs@gnu.org>
2009-09-24 10:18   ` Nordlöw

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.