emacs-devel
[Top][All Lists]
Advanced

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

Re: global-key-prefix in GNU emacs 25


From: Andreas Schwab
Subject: Re: global-key-prefix in GNU emacs 25
Date: Thu, 10 Dec 2015 09:45:53 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Uwe Brauer <address@hidden> writes:

> Now it seems not to work in GNU emacs 25, I wrote the author and the
> problem seems to be this setting:
>
>
> (defcustom ahg-global-key-prefix "^Chg"
>   "Prefix of globally-available aHg commands."
>   :group 'ahg :type 'string
>   :set (function (lambda (symbol value)
>                    (when (boundp symbol) (global-unset-key (eval symbol)))
>                    (global-set-key (set symbol value) ahg-global-map))))
>
> This gives an error, I attach it just in case.
>
> So how should a global-key-prefix be set in Emacs 25?

If you have bound "\C-ch" to some command then you cannot use it as a
prefix key.  Either custimize the variable to use a different key
sequence, or don't bind "\C-ch".

Andreas.

-- 
Andreas Schwab, SUSE Labs, address@hidden
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."



reply via email to

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