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

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

Re: MELPA upgrade error


From: VanL
Subject: Re: MELPA upgrade error
Date: Thu, 20 Feb 2020 22:53:30 +1100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (darwin)

>>   (setq help-char (kbd "<f1>"))
>
> (kbd "<f1>") returns a sequence (vector) of keys.  `help-char` expects (as its
> name implies) a character (i.e. an integer).

The trick to obtain the number for the f1 fn-key is

  (setq help-char (string-to-char "<f1>")) ;see [1]

which lets 'M-x term' work, again.


Footnotes: 
[1]  
https://stackoverflow.com/questions/13897125/emacs-translating-c-h-to-del-m-h-to-m-del

-- VL




reply via email to

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