|
| From: | Stefan Monnier |
| Subject: | bug#1072: Viper version is 3.14 of April 06, 2008; can't exit viper insert mode with ESC using emacsclient -t |
| Date: | Fri, 14 Nov 2008 17:39:30 -0500 |
| User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
>> Yes, you are right. If there is a way to find out whether the selected window
>> is in a terminal frame or X frame then viper-ESC-keyseq-timeout can be made
>> into a function.
> If (window-system) is nil, you are using a terminal frame.
Or if you want code that also works with Emacs-22 (don't know about
XEmacs), you can use (framep (selected-frame)) which also returns info
about the kind of terminal used.
Stefan
| [Prev in Thread] | Current Thread | [Next in Thread] |