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

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

Re: passing commands to ediff-directories from the elisp function


From: Kevin Rodgers
Subject: Re: passing commands to ediff-directories from the elisp function
Date: Tue, 27 Sep 2005 11:31:52 -0600
User-agent: Mozilla Thunderbird 0.9 (X11/20041105)

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





reply via email to

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