[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/emacs-lisp/byte-run.el
From: |
Stefan Monnier |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/emacs-lisp/byte-run.el |
Date: |
Mon, 24 Oct 2005 12:44:55 -0400 |
Index: emacs/lisp/emacs-lisp/byte-run.el
diff -c emacs/lisp/emacs-lisp/byte-run.el:1.17
emacs/lisp/emacs-lisp/byte-run.el:1.18
*** emacs/lisp/emacs-lisp/byte-run.el:1.17 Mon Oct 24 16:10:42 2005
--- emacs/lisp/emacs-lisp/byte-run.el Mon Oct 24 16:44:55 2005
***************
*** 128,133 ****
--- 128,134 ----
\(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,168 ****
See the docstrings of `defvaralias' and `make-obsolete-variable' or
Info node `(elisp)Variable Aliases' for more details."
`(progn
(defvaralias ,obsolete-name ,current-name ,docstring)
! (make-obsolete-variable ,obsolete-name ,current-name ,when)))
(defmacro dont-compile (&rest body)
"Like `progn', but the body always runs interpreted (not compiled).
--- 161,170 ----
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)))
(defmacro dont-compile (&rest body)
"Like `progn', but the body always runs interpreted (not compiled).
***************
*** 171,180 ****
(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.
(defmacro eval-when-compile (&rest body)
"Like `progn', but evaluates the body at compile time if you're compiling.
--- 173,182 ----
(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.
(defmacro eval-when-compile (&rest body)
"Like `progn', but evaluates the body at compile time if you're compiling.
***************
*** 198,209 ****
(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.
;; (put 'byte-compiler-options 'lisp-indent-function 0)
;; (defmacro byte-compiler-options (&rest args)
--- 200,211 ----
(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.
;; (put 'byte-compiler-options 'lisp-indent-function 0)
;; (defmacro byte-compiler-options (&rest args)
***************
*** 229,233 ****
;; (file-format emacs19))"
;; nil)
! ;;; arch-tag: 76f8328a-1f66-4df2-9b6d-5c3666dc05e9
;;; byte-run.el ends here
--- 231,235 ----
;; (file-format emacs19))"
;; nil)
! ;; arch-tag: 76f8328a-1f66-4df2-9b6d-5c3666dc05e9
;;; byte-run.el ends here