; Don't quote nil in comments

This commit is contained in:
Stefan Kangas 2022-12-15 02:24:56 +01:00
parent da39200c4b
commit a15cd55044
4 changed files with 5 additions and 5 deletions

View file

@ -399,7 +399,7 @@ this defaults to the current buffer."
"Query the user for a process and return the process object."
;; Currently supports only the PROCESS argument.
;; Must either return a list containing a process, or signal an error.
;; (Returning `nil' would mean the current buffer's process.)
;; (Returning nil would mean the current buffer's process.)
(unless (fboundp 'process-list)
(error "Asynchronous subprocesses are not supported on this system"))
;; Local function to return cons of a complete-able name, and the

View file

@ -154,7 +154,7 @@ EXPANDED-PATTERN."
;; very often doesn't equate the full set of candidates
;; (many tools cap to sth like 100-1000 results).
;;
;; * when `_method' is `nil' or `lambda' which some
;; * when `_method' is nil or `lambda' which some
;; frontends will invoke. Here, `all' should be
;; sufficient information for `complete-with-action' to
;; do the job correctly.

View file

@ -248,8 +248,8 @@ or set the `:backend' header argument"))))
"value")))
result0)))
(ob-clojure-string-or-list
;; Filter out s-expressions that return `nil' (string "nil"
;; from nrepl eval) or comment forms (actual `nil' from nrepl)
;; Filter out s-expressions that return nil (string "nil"
;; from nrepl eval) or comment forms (actual nil from nrepl)
(reverse (delete "" (mapcar (lambda (r)
(replace-regexp-in-string "nil" "" (or r "")))
result0)))))))

View file

@ -134,7 +134,7 @@
;; from the persistent storage at the end of Emacs session. The
;; expiry condition can be set when saving/registering data
;; containers. The expirty condition can be `never' - data will never
;; expire; `nil' - data will expire at the end of current Emacs session;
;; expire; nil - data will expire at the end of current Emacs session;
;; a number - data will expire after the number days from last access;
;; a function - data will expire if the function, called with a single
;; argument - collection, returns non-nil.