Revert "Raise an error when detecting old-style backquotes."
This reverts commit 9613690f6e
.
This commit is contained in:
parent
2c39565dc0
commit
6abff55b55
5 changed files with 46 additions and 18 deletions
|
@ -2048,8 +2048,14 @@ With argument ARG, insert value in current buffer after the form."
|
|||
(not (eobp)))
|
||||
(setq byte-compile-read-position (point)
|
||||
byte-compile-last-position byte-compile-read-position)
|
||||
(let* ((lread--unescaped-character-literals nil)
|
||||
(let* ((lread--old-style-backquotes nil)
|
||||
(lread--unescaped-character-literals nil)
|
||||
(form (read inbuffer)))
|
||||
;; Warn about the use of old-style backquotes.
|
||||
(when lread--old-style-backquotes
|
||||
(byte-compile-warn "!! The file uses old-style backquotes !!
|
||||
This functionality has been obsolete for more than 10 years already
|
||||
and will be removed soon. See (elisp)Backquote in the manual."))
|
||||
(when lread--unescaped-character-literals
|
||||
(byte-compile-warn
|
||||
"unescaped character literals %s detected!"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue