Mercurial > emacs
comparison lisp/emacs-lisp/byte-run.el @ 86286:08ed3671eb2d
(declare-function): Return nil.
author | Jason Rumney <jasonr@gnu.org> |
---|---|
date | Wed, 21 Nov 2007 22:39:33 +0000 |
parents | 55bc44bcdff4 |
children | cd8648d81eb3 |
comparison
equal
deleted
inserted
replaced
86285:59344cb482f3 | 86286:08ed3671eb2d |
---|---|
118 the end of FILE must be all on the same line. For example: | 118 the end of FILE must be all on the same line. For example: |
119 | 119 |
120 \(declare-function c-end-of-defun \"progmodes/cc-cmds.el\" | 120 \(declare-function c-end-of-defun \"progmodes/cc-cmds.el\" |
121 \(&optional arg))" | 121 \(&optional arg))" |
122 ;; Does nothing - byte-compile-declare-function does the work. | 122 ;; Does nothing - byte-compile-declare-function does the work. |
123 ) | 123 nil) |
124 | 124 |
125 (defun make-obsolete (obsolete-name current-name &optional when) | 125 (defun make-obsolete (obsolete-name current-name &optional when) |
126 "Make the byte-compiler warn that OBSOLETE-NAME is obsolete. | 126 "Make the byte-compiler warn that OBSOLETE-NAME is obsolete. |
127 The warning will say that CURRENT-NAME should be used instead. | 127 The warning will say that CURRENT-NAME should be used instead. |
128 If CURRENT-NAME is a string, that is the `use instead' message. | 128 If CURRENT-NAME is a string, that is the `use instead' message. |