emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master 84e5986: ; Add commentary on location of zerop


From: Paul Eggert
Subject: [Emacs-diffs] master 84e5986: ; Add commentary on location of zerop
Date: Wed, 11 Jul 2018 13:32:51 -0400 (EDT)

branch: master
commit 84e5986902c7d7274f438c48c82949436eb9093d
Author: Basil L. Contovounesios <address@hidden>
Commit: Paul Eggert <address@hidden>

    ; Add commentary on location of zerop
    
    * lisp/subr.el (zerop): Add commentary explaining why moving the
    function's location within the file broke bootstrap in
    2018-07-10T23:08:58-07:address@hidden
---
 lisp/subr.el | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lisp/subr.el b/lisp/subr.el
index c1d90e3..a5108eb 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -548,6 +548,9 @@ If N is omitted or nil, remove the last element."
           (if (> n 0) (setcdr (nthcdr (- (1- m) n) list) nil))
           list))))
 
+;; This function appears here instead of under the 'Basic Lisp
+;; functions' heading because during bootstrap its compiler-macro
+;; requires functions defined under the 'List functions' heading.
 (defun zerop (number)
   "Return t if NUMBER is zero."
   ;; Used to be in C, but it's pointless since (= 0 n) is faster anyway because



reply via email to

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