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

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

bug#17970: log-edit creates unwanted ChangeLog buffers


From: Glenn Morris
Subject: bug#17970: log-edit creates unwanted ChangeLog buffers
Date: Thu, 10 Jul 2014 12:54:43 -0400
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

Stefan Monnier wrote:

>> What if I already did "C-x 4 a", which visited a non-existing
>> ChangeLog, and wrote my entry, but didn't yet save that buffer?

Then you get punished for not committing your ChangeLog at the same time
as the associated commit. ;)

> I guess that would make sense, indeed.  Could you refine my patch so
> as to handle that case?

(or (find-buffer-visiting changelog-file-name)
    (file-exists-p changelog-file-name))






reply via email to

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