summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1995-07-07 13:29:50 +0000
committerRichard M. Stallman <rms@gnu.org>1995-07-07 13:29:50 +0000
commite0b934886f096e54f8c36799f0466d047c25edbc (patch)
tree9ac765b819713eafcc125c1b642e683696aae9ba /lisp/emacs-lisp
parent3a8a46f183b0529696889d911fbe6c96e1f1b9e3 (diff)
downloademacs-e0b934886f096e54f8c36799f0466d047c25edbc.tar.gz
emacs-e0b934886f096e54f8c36799f0466d047c25edbc.tar.bz2
emacs-e0b934886f096e54f8c36799f0466d047c25edbc.zip
(byte-compile-obsolete): Do the funcall to compile
the form whether or not we warn.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/bytecomp.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el
index 9fadfc53748..61e1cb4a9c3 100644
--- a/lisp/emacs-lisp/bytecomp.el
+++ b/lisp/emacs-lisp/bytecomp.el
@@ -812,13 +812,13 @@ otherwise pop it")
;;; Used by make-obsolete.
(defun byte-compile-obsolete (form)
- (if (memq 'obsolete byte-compile-warnings)
- (let ((new (get (car form) 'byte-obsolete-info)))
+ (let ((new (get (car form) 'byte-obsolete-info)))
+ (if (memq 'obsolete byte-compile-warnings)
(byte-compile-warn "%s is an obsolete function; %s" (car form)
(if (stringp (car new))
(car new)
- (format "use %s instead." (car new))))
- (funcall (or (cdr new) 'byte-compile-normal-call) form))))
+ (format "use %s instead." (car new)))))
+ (funcall (or (cdr new) 'byte-compile-normal-call) form)))
;; Compiler options