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,v


From: Glenn Morris
Subject: [Emacs-diffs] Changes to emacs/lisp/emacs-lisp/bytecomp.el,v
Date: Tue, 30 Oct 2007 06:23:07 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Glenn Morris <gm>       07/10/30 06:23:06

Index: bytecomp.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/emacs-lisp/bytecomp.el,v
retrieving revision 2.214
retrieving revision 2.215
diff -u -b -r2.214 -r2.215
--- bytecomp.el 28 Oct 2007 23:52:50 -0000      2.214
+++ bytecomp.el 30 Oct 2007 06:23:06 -0000      2.215
@@ -404,7 +404,9 @@
 (defun byte-compile-disable-warning (warning)
   "Change `byte-compile-warnings' to disable WARNING.
 If `byte-compile-warnings' is t, set it to `(not WARNING)'.
-Otherwise, if the first element is `not', add WARNING, else remove it."
+Otherwise, if the first element is `not', add WARNING, else remove it.
+Normally you should let-bind `byte-compile-warnings' before calling this,
+else the global value will be modified."
   (setq byte-compile-warnings
         (cond ((eq byte-compile-warnings t)
                (list 'not warning))
@@ -419,7 +421,9 @@
 (defun byte-compile-enable-warning (warning)
   "Change `byte-compile-warnings' to enable WARNING.
 If `byte-compile-warnings' is `t', do nothing.  Otherwise, if the
-first element is `not', remove WARNING, else add it."
+first element is `not', remove WARNING, else add it.
+Normally you should let-bind `byte-compile-warnings' before calling this,
+else the global value will be modified."
   (or (eq byte-compile-warnings t)
       (setq byte-compile-warnings
             (cond ((eq (car byte-compile-warnings) 'not)




reply via email to

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