all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Rebinding a key in a local variable
@ 2004-02-14 20:25 Travis Spencer
  2004-02-15  6:02 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: Travis Spencer @ 2004-02-14 20:25 UTC (permalink / raw)


Hello,

I am trying to rebind the tab key in a local variable, but I can't figure
out the syntax.  I would like the tab key to call the tab-to-tab-stop
function, so I don't have to use M-i.  Here is what I have at the moment:

# Local Variables:
# tab-stop-list: (0 4 40)
# global-set-key: [tab] tab-to-tab-stop
# End:

This gives me the error message:

File local-variables error: (error "Local variables entry is terminated
incorrectly")

When I remove the global-set-key variable the error message isn't given.

Any help would be *much* appreciated.

-- 

Regards,

Travis Spencer
Portland, OR. USA

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-02-15  6:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-14 20:25 Rebinding a key in a local variable Travis Spencer
2004-02-15  6:02 ` Eli Zaretskii

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.