emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/lisp/emacs-lisp/bytecomp.el


From: Stefan Monnier
Subject: [Emacs-diffs] Changes to emacs/lisp/emacs-lisp/bytecomp.el
Date: Wed, 16 Apr 2003 16:10:33 -0400

Index: emacs/lisp/emacs-lisp/bytecomp.el
diff -c emacs/lisp/emacs-lisp/bytecomp.el:2.124 
emacs/lisp/emacs-lisp/bytecomp.el:2.125
*** emacs/lisp/emacs-lisp/bytecomp.el:2.124     Sat Apr 12 17:39:50 2003
--- emacs/lisp/emacs-lisp/bytecomp.el   Wed Apr 16 16:10:33 2003
***************
*** 10,16 ****
  
  ;;; This version incorporates changes up to version 2.10 of the
  ;;; Zawinski-Furuseth compiler.
! (defconst byte-compile-version "$Revision: 2.124 $")
  
  ;; This file is part of GNU Emacs.
  
--- 10,16 ----
  
  ;;; This version incorporates changes up to version 2.10 of the
  ;;; Zawinski-Furuseth compiler.
! (defconst byte-compile-version "$Revision: 2.125 $")
  
  ;; This file is part of GNU Emacs.
  
***************
*** 1315,1327 ****
    nil)
  
  
! (defsubst byte-compile-const-symbol-p (symbol &optional value)
    "Non-nil if SYMBOL is constant.
! If VALUE is nil, only return non-nil if the value of the symbol is the
  symbol itself."
    (or (memq symbol '(nil t))
        (keywordp symbol)
!       (if value (memq symbol byte-compile-const-variables))))
  
  (defmacro byte-compile-constp (form)
    "Return non-nil if FORM is a constant."
--- 1315,1327 ----
    nil)
  
  
! (defsubst byte-compile-const-symbol-p (symbol &optional any-value)
    "Non-nil if SYMBOL is constant.
! If ANY-VALUE is nil, only return non-nil if the value of the symbol is the
  symbol itself."
    (or (memq symbol '(nil t))
        (keywordp symbol)
!       (if any-value (memq symbol byte-compile-const-variables))))
  
  (defmacro byte-compile-constp (form)
    "Return non-nil if FORM is a constant."




reply via email to

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