all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* defadvice question.
@ 2009-09-16 13:52 Michal
  2009-09-17  0:16 ` Andreas Politz
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Michal @ 2009-09-16 13:52 UTC (permalink / raw)
  To: help-gnu-emacs

Hallo group members.
when doing C-u M-x cvs-checkout 
I wanted to always have in minibuffer history ring, my cvs root, just to
use up arrow key to get it. So I did:

(setenv "CVSROOT" "/my/cvs/root")

(defadvice cvs-checkout
  (before cvs-checkout-cvs-root-add-to-history-ring)
  (add-to-list 'minibuffer-history (getenv "CVSROOT")))

(ad-activate 'cvs-checkout)


but it does not work. Have You an idea why?

best regards,
Michal


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

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

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-16 13:52 defadvice question Michal
2009-09-17  0:16 ` Andreas Politz
     [not found] ` <mailman.6832.1253146594.2239.help-gnu-emacs@gnu.org>
2009-09-17  9:09   ` Michal
2009-09-22  3:01 ` Kevin Rodgers
     [not found] ` <mailman.7167.1253588521.2239.help-gnu-emacs@gnu.org>
2009-09-22 16:05   ` Michal
2009-09-23  2:21     ` Kevin Rodgers
     [not found]     ` <mailman.7257.1253672525.2239.help-gnu-emacs@gnu.org>
2009-09-24 16:42       ` Michal
2009-09-25  2:48         ` Kevin Rodgers
     [not found]         ` <mailman.7485.1253846932.2239.help-gnu-emacs@gnu.org>
2009-09-28 16:24           ` Michal

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.