diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2022-08-21 21:46:14 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2022-08-21 21:46:14 +0200 |
commit | 6ddcf67052545a0f77233f1a952dc90e296cda35 (patch) | |
tree | 68191dff374cc0c77974c382cb450b82aa2ad5a1 /lisp/org/oc-basic.el | |
parent | 958924a8126cf532d44c4b446d13ed744438cc9b (diff) | |
download | emacs-6ddcf67052545a0f77233f1a952dc90e296cda35.tar.gz emacs-6ddcf67052545a0f77233f1a952dc90e296cda35.tar.bz2 emacs-6ddcf67052545a0f77233f1a952dc90e296cda35.zip |
Make it possible to mark generalized variables as obsolete
* doc/lispref/variables.texi (Adding Generalized Variables):
Document it.
* lisp/emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Alter
the interface so that it can also be used by generalized variable
warnings.
(byte-compile-function-warn): Adjust caller.
(byte-compile-check-variable): Adjust caller.
* lisp/emacs-lisp/gv.el (gv-get): Warn about obsolete generalized
variables (bug#49730).
(make-obsolete-generalized-variable): New function.
Diffstat (limited to 'lisp/org/oc-basic.el')
0 files changed, 0 insertions, 0 deletions