[Top][All Lists]

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

Buffer specific binding

From: Ian Zimmerman
Subject: Buffer specific binding
Date: Tue, 25 Aug 2015 14:04:52 -0700
User-agent: Mutt/1.5.21 (2010-09-15)

What's the best way to bind a key to a command _only in a specific
buffer_?  AFAIK local-set-key will set it in the mode keymap so all
buffers in the same mode will see the change or addition; I'd like to
avoid that.

I know one answer: make a specialized mode (inherited from the real
one).  Any other way?

Please *no* private copies of mailing list or newsgroup messages.
Rule 420: All persons more than eight miles high to leave the court.

reply via email to

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