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

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

local-set-key and [f1]


From: vose
Subject: local-set-key and [f1]
Date: Fri, 22 Aug 2003 15:29:58 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3.1) Gecko/20030425

I can get function key f5 to do something useful:

(add-hook 'tex-mode-hook
   (function (lambda ()
             (local-set-key (quote [f5]) "\\begin{eqnarray*}"))))

but every attempt to get function key f1 to behave likewise fails.

Liberal sprinkling of things like

(global-set-key [f1] nil)

or

(global-unset-key [f1])

are no help.  What is the magic required??  Does anyone have an
example which works for f1 ??

Michael



reply via email to

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