diff options
| author | Eli Zaretskii | 2008-10-09 16:09:02 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2008-10-09 16:09:02 +0000 |
| commit | c4dde5782c6f51d5247dc2f250b9d74506af1d2b (patch) | |
| tree | 360f35ed7fd7f91fad0ea4ffd633408e060dcdec /lisp | |
| parent | 2a12d736c1ea3316a69ac5fa0ac2e11fdb38838c (diff) | |
| download | emacs-c4dde5782c6f51d5247dc2f250b9d74506af1d2b.tar.gz emacs-c4dde5782c6f51d5247dc2f250b9d74506af1d2b.zip | |
(make-frame-on-tty): Use "F" inside interactive. Support `pc'
``window-system''.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 3 | ||||
| -rw-r--r-- | lisp/frame.el | 8 |
2 files changed, 9 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index c8dac9db694..f6c88dbfc53 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2008-10-09 Eli Zaretskii <eliz@gnu.org> | 1 | 2008-10-09 Eli Zaretskii <eliz@gnu.org> |
| 2 | 2 | ||
| 3 | * frame.el (make-frame-on-tty): Use "F" inside interactive. Support | ||
| 4 | `pc' ``window-system''. | ||
| 5 | |||
| 3 | * progmodes/compile.el (compilation-start): Resurrect the version | 6 | * progmodes/compile.el (compilation-start): Resurrect the version |
| 4 | for systems that don't support asynchronous subprocesses. | 7 | for systems that don't support asynchronous subprocesses. |
| 5 | 8 | ||
diff --git a/lisp/frame.el b/lisp/frame.el index 154844a3d45..88d43fbc786 100644 --- a/lisp/frame.el +++ b/lisp/frame.el | |||
| @@ -630,12 +630,16 @@ TTY should be the file name of the tty device to use. TYPE | |||
| 630 | should be the terminal type string of TTY, for example \"xterm\" | 630 | should be the terminal type string of TTY, for example \"xterm\" |
| 631 | or \"vt100\". The optional third argument PARAMETERS specifies | 631 | or \"vt100\". The optional third argument PARAMETERS specifies |
| 632 | additional frame parameters." | 632 | additional frame parameters." |
| 633 | (interactive "fOpen frame on tty device: \nsTerminal type of %s: ") | 633 | ;; Use "F" rather than "f" to avoid reading from devices that don't |
| 634 | ;; like that. | ||
| 635 | (interactive "FOpen frame on tty device: \nsTerminal type of %s: ") | ||
| 634 | (unless tty | 636 | (unless tty |
| 635 | (error "Invalid terminal device")) | 637 | (error "Invalid terminal device")) |
| 636 | (unless type | 638 | (unless type |
| 637 | (error "Invalid terminal type")) | 639 | (error "Invalid terminal type")) |
| 638 | (make-frame `((window-system . nil) (tty . ,tty) (tty-type . ,type) . ,parameters))) | 640 | (if (eq window-system 'pc) |
| 641 | (make-frame `((window-system . pc) (tty . ,tty) (tty-type . ,type) . ,parameters)) | ||
| 642 | (make-frame `((window-system . nil) (tty . ,tty) (tty-type . ,type) . ,parameters)))) | ||
| 639 | 643 | ||
| 640 | (declare-function x-close-connection "xfns.c" (terminal)) | 644 | (declare-function x-close-connection "xfns.c" (terminal)) |
| 641 | 645 | ||