auctex
[Top][All Lists]
Advanced

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

[AUCTeX] binding a function key to toggle between 2 functions


From: Sivaram Neelakantan
Subject: [AUCTeX] binding a function key to toggle between 2 functions
Date: Tue, 22 Apr 2008 22:52:02 +0530
User-agent: Gnus/5.110009 (No Gnus v0.9) Emacs/22.2 (windows-nt)

While working on latex documents, I've enabled outline-minor-mode and
have set the following keybindings.

(local-set-key (quote [f7]) (quote show-all))
(local-set-key (quote [S-f7]) (quote hide-body))

This is slightly unsatisfactory as I'd prefer f7 to toggle between
show-all and hide-body as that *seems* more logical.  Is it possible
to do that?


 sivaram
 -- 





reply via email to

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