emacs-devel
[Top][All Lists]
Advanced

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

Re: Emacs-diffs digest, Vol 1 #201 - 14 msgs


From: Richard Stallman
Subject: Re: Emacs-diffs digest, Vol 1 #201 - 14 msgs
Date: Fri, 21 Dec 2001 06:13:09 -0700 (MST)

Thanks for finding and fixing all the Nils.
Here is a point about how to do a nicer job of it.

        "Boolean toggle VARIABLE's value.
    ! VARIABLE must be a bound symbol.  Nil values change to t, non-nil
      values are changed to nil."
        (message "%s changed from %s to %s"
               variable (symbol-value variable)
    --- 1866,1872 ----

      (defun sc-toggle-var (variable)
        "Boolean toggle VARIABLE's value.
    ! VARIABLE must be a bound symbol.  nil values change to t, non-nil
      values are changed to nil."

Having "nil" at the start of a sentence is not wrong,
like writing "Nil", but it's less than desirable.
To avoid that, it is nice to rewrite the sentence a little.

In this case, changing passive to active (which is usually an
improvement anyway) will do the job.  "This function changes nil to t,
and changes non-nil values to nil."




reply via email to

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