[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Reify the cc-mode-common into an actual parent mode
From: |
Stefan Monnier |
Subject: |
Re: Reify the cc-mode-common into an actual parent mode |
Date: |
Sun, 29 May 2016 10:53:05 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
>> Which part wouldn't work in XEmacs?
> `set-keymap-parent', which is called `set-keymap-parents' (note the
> final "s") in XEmacs.
XEmacs has set-keymap-parent as well:
`set-keymap-parent' is a compiled Lisp function
-- loaded from "/build/xemacs21-y6hBE4/xemacs21-21.4.22/lisp/obsolete.elc"
(set-keymap-parent KEYMAP PARENT)
Emacs Compatible; use `set-keymap-parents' instead.
Documentation:
Make the given keymap have (only) the given parent.
It's been there "forever" AFAIK, and I doubt they really intend to drop
it, since this function is widely used in all kinds of packages.
Stefan