[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: passing commands to ediff-directories from the elisp function
From: |
mak kwak |
Subject: |
Re: passing commands to ediff-directories from the elisp function |
Date: |
Wed, 28 Sep 2005 13:45:44 +0200 |
That's it!
Thanks!!!
Dnia 27-09-2005 o godz. 19:31 Kevin Rodgers napisał(a):
> mak kwak wrote:
> > I trying to write a method that will run ediff-directories comand for
> > my two directories, then will mark all equal files for hiding (=h) and
> > will hide them (x).
> >
> > I did the following:
> > (defun compare-my-dirs (dir1 dir2)
> > "compares two directories"
> > (ediff-directories dir1 dir2)
> > (switch-to-buffer "*Ediff Session Group Panel*") ;; success, switches
> to that buffer.
> > (insert "=h") ;; !!!! neither does not mark equal files for hiding..
> > (insert "x")) ;; !!!! ..nor hides them.
> >
> > My question is, how can I pass my commands to *`Ediff Session Group
> > Panel*' from elisp function ?
>
> (setq unread-command-events (list ?= ?h ?x))
>
> --
> Kevin Rodgers
>
>
>
> _______________________________________________
> Help-gnu-emacs mailing list
> Help-gnu-emacs@gnu.org
> http://lists.gnu.org/mailman/listinfo/help-gnu-emacs
>
----------------------------------------------------
Natsuo Kirino - "Ostateczne wyjście" Japońskie cacko mrożące krew
w żyłach! Świat, w którym człowiek staje się narzędziem zła...
Bestseller prosto z Tokio!
http://klik.wp.pl/?adr=http%3A%2F%2Fadv.reklama.wp.pl%2Fas%2Fkjp.html&sid=514