emacs-devel
[Top][All Lists]
Advanced

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

Re: Should mode commands be idempotent?


From: John Wiegley
Subject: Re: Should mode commands be idempotent?
Date: Mon, 09 Oct 2017 19:10:37 -0700
User-agent: Gnus/5.130016 (Ma Gnus v0.16) Emacs/26.0 (darwin)

>>>>> "SM" == Stefan Monnier <address@hidden> writes:

>> address@hidden
>> +Calling the major mode command twice in direct succession should not
>> +fail and should do the same thing as calling the command only once.

SM> I think I'd prefer it if the word "idempotent" was mentioned (not
SM> *instead* of what you have, but additionally).

SM> Other than that: LGTM.

Same.

-- 
John Wiegley                  GPG fingerprint = 4710 CF98 AF9B 327B B80F
http://newartisans.com                          60E1 46C4 BD1A 7AC1 4BA2



reply via email to

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