[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How bind C-c C-c to specific buffer?
From: |
XeCycle |
Subject: |
Re: How bind C-c C-c to specific buffer? |
Date: |
Sat, 12 Nov 2011 11:08:04 +0800 |
User-agent: |
Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.91 (gnu/linux) |
Oleksandr Gavenko <gavenkoa@gmail.com> writes:
> I try implement functionality that spawn buffer, user type message and after
> C-c C-c must arise my function that get typed text and kill buffer (like in
> remember or message or log buffers).
>
> How can I archive my goal?
>
> Is it possible to bind key sequence limited to specific buffer without
> implementing major mode?
See local-set-key.
--
Carl Lei (XeCycle)
Department of Physics, Shanghai Jiao Tong University
OpenPGP public key: 7795E591
Fingerprint: 1FB6 7F1F D45D F681 C845 27F7 8D71 8EC4 7795 E591
pgpu1U7Y3wkzF.pgp
Description: PGP signature