diff options
| author | Stefan Monnier | 2023-11-08 11:32:27 -0500 |
|---|---|---|
| committer | Stefan Monnier | 2023-11-08 22:42:16 -0500 |
| commit | 19445b6b7bb04e44e39ef2e39a620bd3eadb0acd (patch) | |
| tree | bd8b0f0a0a31556c11fd717264b5c0f89f6a3da5 /java | |
| parent | 21f36705266934d5a351d4d7f360734540132139 (diff) | |
| download | emacs-19445b6b7bb04e44e39ef2e39a620bd3eadb0acd.tar.gz emacs-19445b6b7bb04e44e39ef2e39a620bd3eadb0acd.zip | |
subr.el: Provide a functional API around `derived-mode-parent`
The `derived-mode-parent` property should be an implementation detail,
so we can change it more easily. To that end, add functions to set and
query it.
* lisp/subr.el (derived-mode-all-parents): New function.
(provided-mode-derived-p): Use it.
(derived-mode-set-parent): New function.
Diffstat (limited to 'java')
0 files changed, 0 insertions, 0 deletions