summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/bytecomp.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2002-07-19 23:01:24 +0000
committerRichard M. Stallman <rms@gnu.org>2002-07-19 23:01:24 +0000
commit9cb9a7bc56dbabc8f2e3255e3cac5fdf437e3ce7 (patch)
tree62ac3e7fd86496d0fad0249faefe65179bc5c65b /lisp/emacs-lisp/bytecomp.el
parent8cfd6446cbc57bee699a788308281683a9175344 (diff)
downloademacs-9cb9a7bc56dbabc8f2e3255e3cac5fdf437e3ce7.tar.gz
emacs-9cb9a7bc56dbabc8f2e3255e3cac5fdf437e3ce7.tar.bz2
emacs-9cb9a7bc56dbabc8f2e3255e3cac5fdf437e3ce7.zip
(byte-compile-cl-warn): Delete `values'
and `values-list' from list of CL functions. (compile-defun): Bind `read-with-symbol-positions' to current buffer.
Diffstat (limited to 'lisp/emacs-lisp/bytecomp.el')
-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 1bd5f537486..784eec37a10 100644
--- a/lisp/emacs-lisp/bytecomp.el
+++ b/lisp/emacs-lisp/bytecomp.el
@@ -10,7 +10,7 @@
;;; This version incorporates changes up to version 2.10 of the
;;; Zawinski-Furuseth compiler.
-(defconst byte-compile-version "$Revision: 2.103 $")
+(defconst byte-compile-version "$Revision: 2.104 $")
;; This file is part of GNU Emacs.
@@ -1206,8 +1206,8 @@ Each function's symbol gets marked with the `byte-compile-noruntime' property."
;; These aren't all aliases of subrs, so not trivial to
;; avoid hardwiring the list.
(not (memq func
- '(cl-block-wrapper cl-block-throw values values-list
- multiple-value-list multiple-value-call nth-value
+ '(cl-block-wrapper cl-block-throw
+ multiple-value-call nth-value
copy-seq first second rest endp cl-member))))
(byte-compile-warn "Function `%s' from cl package called at runtime"
func)))
@@ -1588,7 +1588,7 @@ With argument, insert value in current buffer after the form."
(byte-compile-last-position byte-compile-read-position)
(byte-compile-last-warned-form 'nothing)
(value (eval
- (let ((read-with-symbol-positions inbuffer)
+ (let ((read-with-symbol-positions (current-buffer))
(read-symbol-positions-list nil))
(displaying-byte-compile-warnings
(byte-compile-sexp (read (current-buffer))))))))