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: Wed, 19 Feb 2020 12:17:58 +1100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (berkeley-unix)

>>   (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).

Using,

  (setq help-char 'f1) ; after reading [1]

Previously, 

  (setq help-char [f1])
  (setq help-char (kbd "<f1>")) ; ignorantly copy & pasted
                                ; set the help-char value to [f1]
                                ; now the value is plainly f1

Footnotes: 
[1]  
https://www.gnu.org/software/emacs/manual/html_node/emacs/Function-Keys.html

-- VL
李 Take a piss.
德 Take the piss.
煒 The difference is the article.




reply via email to

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