summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/emacs-lisp/byte-run.el2
2 files changed, 5 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 234d71a68bc..53522780557 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
+2007-11-21 Jason Rumney <jasonr@gnu.org>
+
+ * emacs-lisp/byte-run.el (declare-function): Return nil.
+
2007-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
* progmodes/sh-script.el (sh-mode): Set defun-prompt-regexp.
diff --git a/lisp/emacs-lisp/byte-run.el b/lisp/emacs-lisp/byte-run.el
index b0525cbc7c6..bf91a8d58fc 100644
--- a/lisp/emacs-lisp/byte-run.el
+++ b/lisp/emacs-lisp/byte-run.el
@@ -120,7 +120,7 @@ the end of FILE must be all on the same line. For example:
\(declare-function c-end-of-defun \"progmodes/cc-cmds.el\"
\(&optional arg))"
;; Does nothing - byte-compile-declare-function does the work.
- )
+ nil)
(defun make-obsolete (obsolete-name current-name &optional when)
"Make the byte-compiler warn that OBSOLETE-NAME is obsolete.