Mercurial > emacs
comparison lisp/frame.el @ 39505:b7d5e9ab6f93
(select-frame-by-name, other-frame): Doc fix.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Sun, 30 Sep 2001 10:47:22 +0000 |
parents | 3ddaeeda30c5 |
children | 2e4007551cfd |
comparison
equal
deleted
inserted
replaced
39504:af867d560348 | 39505:b7d5e9ab6f93 |
---|---|
646 (t | 646 (t |
647 (when (eq window-system 'x) | 647 (when (eq window-system 'x) |
648 (x-focus-frame frame))))) | 648 (x-focus-frame frame))))) |
649 | 649 |
650 (defun other-frame (arg) | 650 (defun other-frame (arg) |
651 "Select the ARG'th different visible frame, and raise it. | 651 "Select the ARG'th different visible frame on current display, and raise it. |
652 All frames are arranged in a cyclic order. | 652 All frames are arranged in a cyclic order. |
653 This command selects the frame ARG steps away in that order. | 653 This command selects the frame ARG steps away in that order. |
654 A negative ARG moves in the opposite order." | 654 A negative ARG moves in the opposite order." |
655 (interactive "p") | 655 (interactive "p") |
656 (let ((frame (selected-frame))) | 656 (let ((frame (selected-frame))) |
678 (setq frame (next-frame frame t)))) | 678 (setq frame (next-frame frame t)))) |
679 falist)) | 679 falist)) |
680 | 680 |
681 (defvar frame-name-history nil) | 681 (defvar frame-name-history nil) |
682 (defun select-frame-by-name (name) | 682 (defun select-frame-by-name (name) |
683 "Select the frame whose name is NAME and raise it. | 683 "Select the frame on the current terminal whose name is NAME and raise it. |
684 If there is no frame by that name, signal an error." | 684 If there is no frame by that name, signal an error." |
685 (interactive | 685 (interactive |
686 (let* ((frame-names-alist (make-frame-names-alist)) | 686 (let* ((frame-names-alist (make-frame-names-alist)) |
687 (default (car (car frame-names-alist))) | 687 (default (car (car frame-names-alist))) |
688 (input (completing-read | 688 (input (completing-read |