emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] /srv/bzr/emacs/trunk r105228: * emacs-lisp/cl-macs.el (dec


From: Lars Magne Ingebrigtsen
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r105228: * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
Date: Fri, 15 Jul 2011 15:46:52 +0200
User-agent: Bazaar (2.3.1)

------------------------------------------------------------
revno: 105228
fixes bug(s): http://debbugs.gnu.org/8690
committer: Lars Magne Ingebrigtsen <address@hidden>
branch nick: trunk
timestamp: Fri 2011-07-15 15:46:52 +0200
message:
  * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
modified:
  lisp/ChangeLog
  lisp/emacs-lisp/cl-macs.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2011-07-15 13:33:07 +0000
+++ b/lisp/ChangeLog    2011-07-15 13:46:52 +0000
@@ -1,5 +1,7 @@
 2011-07-15  Lars Magne Ingebrigtsen  <address@hidden>
 
+       * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
+
        * isearch.el (isearch-barrier): Add a doc string, since it's
        mentioned in a function doc string (bug#8678).
 

=== modified file 'lisp/emacs-lisp/cl-macs.el'
--- a/lisp/emacs-lisp/cl-macs.el        2011-06-01 14:19:45 +0000
+++ b/lisp/emacs-lisp/cl-macs.el        2011-07-15 13:46:52 +0000
@@ -1601,6 +1601,12 @@
 
 ;;;###autoload
 (defmacro declare (&rest specs)
+  "Declare something about SPECS while compiling.
+For instance
+
+  \(declare (warn 0))
+
+will turn off byte-compile warnings."
   (if (cl-compiling-file)
       (while specs
        (if (listp cl-declare-stack) (push (car specs) cl-declare-stack))


reply via email to

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