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

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

Re: zonk *log-edit-files* for RCS (or when there is only one file)


From: Thien-Thi Nguyen
Subject: Re: zonk *log-edit-files* for RCS (or when there is only one file)
Date: Tue, 09 Feb 2021 14:06:13 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)

() Emanuel Berg via Users list for the GNU Emacs text editor 
<help-gnu-emacs@gnu.org>
() Tue, 09 Feb 2021 19:26:02 +0100

   Well, then there is just one thing to do, use the
   source, Luke!

   The lisp/vc/log-edit.el file seems interesting.

Indeed.  Here's what i cooked up:

 (defun ttn-log-edit-show-files-maybe ()
   (unless (null (cdr (log-edit-files)))
     (log-edit-show-files)))
 
 (remove-hook 'log-edit-hook 'log-edit-show-files)
 
 (add-hook 'log-edit-hook 'ttn-log-edit-show-files-maybe t)

It works fine, although i suspect the moment i add it to my pile
of hacks, someone will check-in a more elegant method...  :-D

-- 
Thien-Thi Nguyen -----------------------------------------------
 (defun responsep (query)               ; (2021) Software Libero
   (pcase (context query)               ;       = Dissenso Etico
     (`(technical ,ml) (correctp ml))
     ...))                              748E A0E8 1CB8 A748 9BFA
--------------------------------------- 6CE4 6703 2224 4C80 7502

Attachment: signature.asc
Description: PGP signature


reply via email to

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