mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-16 10:50:49 -08:00
Expunge read-with-symbol-position and read-symbol-positions-list
These are remnants of the old way of determining byte compiler warning positions. * src/lread.c (read_internal_start, read1): Remove initializations amd manipulations of these variables. (syms_of_lread): Remove the declarations of the variables. * lisp/emacs-list/bytecomp.el (compile-defun, byte-compile-from-buffer): Remove bindings of the variables.
This commit is contained in:
parent
6cea4d1fdb
commit
dfae76c991
2 changed files with 1 additions and 47 deletions
|
|
@ -2215,9 +2215,7 @@ With argument ARG, insert value in current buffer after the form."
|
|||
(start-read-position (point))
|
||||
(byte-compile-last-warned-form 'nothing)
|
||||
(value (eval
|
||||
(let ((read-with-symbol-positions (current-buffer))
|
||||
(read-symbol-positions-list nil)
|
||||
(symbols-with-pos-enabled t))
|
||||
(let ((symbols-with-pos-enabled t))
|
||||
(displaying-byte-compile-warnings
|
||||
(byte-compile-sexp
|
||||
(let ((form (read-positioning-symbols (current-buffer))))
|
||||
|
|
@ -2252,9 +2250,6 @@ With argument ARG, insert value in current buffer after the form."
|
|||
(byte-compile-depth 0)
|
||||
(byte-compile-maxdepth 0)
|
||||
(byte-compile-output nil)
|
||||
;; This allows us to get the positions of symbols read.
|
||||
(read-with-symbol-positions inbuffer)
|
||||
(read-symbol-positions-list nil)
|
||||
;; #### This is bound in b-c-close-variables.
|
||||
;; (byte-compile-warnings byte-compile-warnings)
|
||||
(symbols-with-pos-enabled t))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue