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

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

Re: introduction to lisp


From: John Ankarström
Subject: Re: introduction to lisp
Date: Tue, 20 Jun 2017 07:10:54 +0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (darwin)

Emanuel Berg <moasen@zoho.com> writes:

> Also I would write
>
>     (global-set-key (kbd "C-c C-d") 'buster-disable-test)
>
> like this:
>
>     (global-set-key "\C-c\C-d" #'buster-disable-test)

I'm 100% with you on everything else you said, but I personally
prefer the `kbd' notation. It's clearer and easier to understand,
because it's consistent with how Emacs itself displays key
bindings for the user (through `describe-key').

I do agree that #' is better than ' for functions :-)

- John



reply via email to

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