0
|
1 ;;; console.el --- miscellaneous console functions not written in C
|
|
2
|
|
3 ;;;; Copyright (C) 1994, 1995 Board of Trustees, University of Illinois
|
|
4 ;;;; Copyright (C) 1995, 1996 Ben Wing
|
|
5
|
|
6 ;; Keywords: internal
|
|
7
|
|
8 ;; This file is part of XEmacs.
|
|
9
|
|
10 ;; XEmacs is free software; you can redistribute it and/or modify it
|
|
11 ;; under the terms of the GNU General Public License as published by
|
|
12 ;; the Free Software Foundation; either version 2, or (at your option)
|
|
13 ;; any later version.
|
|
14
|
|
15 ;; XEmacs is distributed in the hope that it will be useful, but
|
|
16 ;; WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
17 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
18 ;; General Public License for more details.
|
|
19
|
|
20 ;; You should have received a copy of the GNU General Public License
|
|
21 ;; along with XEmacs; see the file COPYING. If not, write to the Free
|
|
22 ;; Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
|
|
23
|
|
24 ;;; Synched up with: Not in FSF.
|
|
25
|
|
26 (defun quit-char (&optional console)
|
|
27 "Return the character that causes a QUIT to happen.
|
|
28 This is normally C-g. Optional arg CONSOLE specifies the console
|
|
29 that the information is returned for; nil means the current console."
|
|
30 (nth 3 (current-input-mode console)))
|
|
31
|