all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michal <rabbitko@tenbit.pl>
To: help-gnu-emacs@gnu.org
Subject: defadvice question.
Date: Wed, 16 Sep 2009 15:52:31 +0200	[thread overview]
Message-ID: <m2fxanro80.fsf@tenbit.pl> (raw)

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


             reply	other threads:[~2009-09-16 13:52 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-16 13:52 Michal [this message]
2009-09-17  0:16 ` defadvice question 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2fxanro80.fsf@tenbit.pl \
    --to=rabbitko@tenbit.pl \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.