[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
What's the point of byte-compile-define-keymap?
From: |
Alan Mackenzie |
Subject: |
What's the point of byte-compile-define-keymap? |
Date: |
Sat, 27 Nov 2021 16:36:47 +0000 |
Hello, Emacs.
It looks to me that byte-compile-define-keymap (in
lisp/emacs-lisp/bytecomp.el) saves its FORM argument in ORIG-FORM and
always returns it unchanged. This looks like an oversight.
Also, would this function not better be named
byte-compile-FILE-FORM-define-keymap, since it is the value of a
byte-hunk-handler symbol property.
Also[2], is this function really necessary? Is define-keymap used
sufficiently often to justify a special byte-hunk-handler for it?
--
Alan Mackenzie (Nuremberg, Germany).
- What's the point of byte-compile-define-keymap?,
Alan Mackenzie <=