help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: elisp-index-search on current word


From: Kevin Rodgers
Subject: Re: elisp-index-search on current word
Date: Wed, 08 Oct 2008 01:20:59 -0600
User-agent: Thunderbird 2.0.0.17 (Macintosh/20080914)

Xah wrote:
when i do elisp-index-search, is there a way to make the default
choice the symbol the cursor is on?

(defadvice elisp-index-search (before interactive-default activate)
"Provide the symbol at point as the default when reading TOPIC interactively." (interactive (list (read-string "Topic: " nil nil (thing-at-point 'symbol)))))

--
Kevin Rodgers
Denver, Colorado, USA





reply via email to

[Prev in Thread] Current Thread [Next in Thread]