# HG changeset patch # User Stefan Monnier # Date 1130172295 0 # Node ID 6d02f0b72652a4c753bcc0a735d52925e77d98f4 # Parent ade0d81f63a9d1a13c7b2b1a8c3fe4a16ca1779d (define-obsolete-function-alias, define-obsolete-variable-alias): Add `doc-string' declaration. diff -r ade0d81f63a9 -r 6d02f0b72652 lisp/emacs-lisp/byte-run.el --- a/lisp/emacs-lisp/byte-run.el Mon Oct 24 16:43:03 2005 +0000 +++ b/lisp/emacs-lisp/byte-run.el Mon Oct 24 16:44:55 2005 +0000 @@ -128,6 +128,7 @@ \(make-obsolete 'old-fun 'new-fun \"22.1\") See the docstrings of `defalias' and `make-obsolete' for more details." + (declare (doc-string 4)) `(progn (defalias ,obsolete-name ,current-name ,docstring) (make-obsolete ,obsolete-name ,current-name ,when))) @@ -160,9 +161,10 @@ See the docstrings of `defvaralias' and `make-obsolete-variable' or Info node `(elisp)Variable Aliases' for more details." + (declare (doc-string 4)) `(progn (defvaralias ,obsolete-name ,current-name ,docstring) - (make-obsolete-variable ,obsolete-name ,current-name ,when))) + (make-obsolete-variable ,obsolete-name ,current-name ,when))) (defmacro dont-compile (&rest body) "Like `progn', but the body always runs interpreted (not compiled). @@ -171,10 +173,10 @@ (list 'eval (list 'quote (if (cdr body) (cons 'progn body) (car body))))) -;;; interface to evaluating things at compile time and/or load time -;;; these macro must come after any uses of them in this file, as their -;;; definition in the file overrides the magic definitions on the -;;; byte-compile-macro-environment. +;; interface to evaluating things at compile time and/or load time +;; these macro must come after any uses of them in this file, as their +;; definition in the file overrides the magic definitions on the +;; byte-compile-macro-environment. (defmacro eval-when-compile (&rest body) "Like `progn', but evaluates the body at compile time if you're compiling. @@ -198,12 +200,12 @@ (car (last body))) -;;; I nuked this because it's not a good idea for users to think of using it. -;;; These options are a matter of installation preference, and have nothing to -;;; with particular source files; it's a mistake to suggest to users -;;; they should associate these with particular source files. -;;; There is hardly any reason to change these parameters, anyway. -;;; --rms. +;; I nuked this because it's not a good idea for users to think of using it. +;; These options are a matter of installation preference, and have nothing to +;; with particular source files; it's a mistake to suggest to users +;; they should associate these with particular source files. +;; There is hardly any reason to change these parameters, anyway. +;; --rms. ;; (put 'byte-compiler-options 'lisp-indent-function 0) ;; (defmacro byte-compiler-options (&rest args) @@ -229,5 +231,5 @@ ;; (file-format emacs19))" ;; nil) -;;; arch-tag: 76f8328a-1f66-4df2-9b6d-5c3666dc05e9 +;; arch-tag: 76f8328a-1f66-4df2-9b6d-5c3666dc05e9 ;;; byte-run.el ends here