[Top][All Lists]

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

Rebinding a key in a local variable

From: Travis Spencer
Subject: Rebinding a key in a local variable
Date: Sat, 14 Feb 2004 12:26:39 -0800


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

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

Any help would be *much* appreciated.



Travis Spencer
Portland, OR. USA

reply via email to

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