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
|
16
|
21 ;; along with XEmacs; see the file COPYING. If not, write to the
|
70
|
22 ;; Free Software Foundation, 59 Temple Place - Suite 330,
|
16
|
23 ;; Boston, MA 02111-1307, USA.
|
0
|
24
|
|
25 ;;; Synched up with: Not in FSF.
|
|
26
|
|
27 (defun quit-char (&optional console)
|
|
28 "Return the character that causes a QUIT to happen.
|
|
29 This is normally C-g. Optional arg CONSOLE specifies the console
|
|
30 that the information is returned for; nil means the current console."
|
|
31 (nth 3 (current-input-mode console)))
|
|
32
|