help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Proper way to add bindings under C-x 8


From: Eli Zaretskii
Subject: Re: Proper way to add bindings under C-x 8
Date: Sun, 11 Apr 2021 09:45:28 +0300

> From: Howard Melman <hmelman@gmail.com>
> Date: Sat, 10 Apr 2021 17:35:07 -0400
> 
> >>     (global-set-key (kbd "C-x 8 1 / 5") (lambda () (interactive) (insert 
> >> "⅕")))
> >>     (global-set-key (kbd "C-x 8 e c") (lambda () (interactive) (insert 
> >> "✅")))
> >
> > I think you want to use iso-transl-define-keys.
> 
> Great, that worked just fine.  Shouldn't it be mentioned in
> one of the manuals?  The preferred idioms for customizing
> other keys are.

It's an obscure use case, and we don't necessarily document everything
in the manuals: that would make then too large.

In general, you are well advised to read the source code when the
documentation is missing or unclear.  That's what I did to answer your
question.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]