diff options
| author | Dave Love | 2000-08-16 21:31:32 +0000 |
|---|---|---|
| committer | Dave Love | 2000-08-16 21:31:32 +0000 |
| commit | b705725947839bdfbc01a9f0189c95d606617d7c (patch) | |
| tree | 9a84f5e2da972ed31ab92e582636d2d85aacc5e8 | |
| parent | f79538c951894f1ee193c0541b3c9ff1cadd788a (diff) | |
| download | emacs-b705725947839bdfbc01a9f0189c95d606617d7c.tar.gz emacs-b705725947839bdfbc01a9f0189c95d606617d7c.zip | |
(windmove) <defgroup>: Add :version.
| -rw-r--r-- | lisp/windmove.el | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/lisp/windmove.el b/lisp/windmove.el index 7d5d629d2cb..e171225409a 100644 --- a/lisp/windmove.el +++ b/lisp/windmove.el | |||
| @@ -1,10 +1,10 @@ | |||
| 1 | ;; windmove.el -- directional window-selection routines. | 1 | ;;; windmove.el --- directional window-selection routines. |
| 2 | ;; | 2 | ;; |
| 3 | ;; Copyright (C) 1998, 1999, 2000 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1998, 1999, 2000 Free Software Foundation, Inc. |
| 4 | ;; | 4 | ;; |
| 5 | ;; Author: Hovav Shacham (hovav@cs.stanford.edu) | 5 | ;; Author: Hovav Shacham (hovav@cs.stanford.edu) |
| 6 | ;; Created: 17 October 1998 | 6 | ;; Created: 17 October 1998 |
| 7 | ;; Keywords: window, movement | 7 | ;; Keywords: window, movement, convenience |
| 8 | ;; | 8 | ;; |
| 9 | ;; This file is part of GNU Emacs. | 9 | ;; This file is part of GNU Emacs. |
| 10 | ;; | 10 | ;; |
| @@ -51,7 +51,7 @@ | |||
| 51 | ;; selected window; in this case, this policy selects A. | 51 | ;; selected window; in this case, this policy selects A. |
| 52 | ;; (2) Always move to the window to the right of the bottom edge of | 52 | ;; (2) Always move to the window to the right of the bottom edge of |
| 53 | ;; the selected window; in this case, this policy selects B. | 53 | ;; the selected window; in this case, this policy selects B. |
| 54 | ;; (3) Move to the window to the right of point in the slected | 54 | ;; (3) Move to the window to the right of point in the selected |
| 55 | ;; window. This may select either A or B, depending on the | 55 | ;; window. This may select either A or B, depending on the |
| 56 | ;; position of point; in the illustrated example, it would select | 56 | ;; position of point; in the illustrated example, it would select |
| 57 | ;; B. | 57 | ;; B. |
| @@ -122,8 +122,6 @@ | |||
| 122 | ;; to suggest wrap-around behavior. Thanks also to Gerd Moellmann | 122 | ;; to suggest wrap-around behavior. Thanks also to Gerd Moellmann |
| 123 | ;; (gerd@gnu.org) for his comments and suggestions. | 123 | ;; (gerd@gnu.org) for his comments and suggestions. |
| 124 | 124 | ||
| 125 | ;; -------------------------------------------------------------------- | ||
| 126 | |||
| 127 | ;;; Code: | 125 | ;;; Code: |
| 128 | 126 | ||
| 129 | 127 | ||
| @@ -133,6 +131,7 @@ | |||
| 133 | (defgroup windmove nil | 131 | (defgroup windmove nil |
| 134 | "Directional selection of windows in a frame." | 132 | "Directional selection of windows in a frame." |
| 135 | :prefix "windmove-" | 133 | :prefix "windmove-" |
| 134 | :version "21.1" | ||
| 136 | :group 'windows | 135 | :group 'windows |
| 137 | :group 'convenience) | 136 | :group 'convenience) |
| 138 | 137 | ||
| @@ -263,7 +262,7 @@ placement bugs in old versions of Emacs." | |||
| 263 | ;; In the first phase, we make sure that the new location is sane. | 262 | ;; In the first phase, we make sure that the new location is sane. |
| 264 | ;; "Sane" means that we can only fall of the edge of the frame in the | 263 | ;; "Sane" means that we can only fall of the edge of the frame in the |
| 265 | ;; direction we're moving in, and that we don't miss the minibuffer if | 264 | ;; direction we're moving in, and that we don't miss the minibuffer if |
| 266 | ;; we're moving down and not already in the minibuffer. The function | 265 | ;; we're moving down and not already in the minibuffer. The function |
| 267 | ;; `windmove-constrain-loc-for-movement' takes care of all this. | 266 | ;; `windmove-constrain-loc-for-movement' takes care of all this. |
| 268 | ;; | 267 | ;; |
| 269 | ;; Then, we handle the wraparound, if it's enabled. The function | 268 | ;; Then, we handle the wraparound, if it's enabled. The function |
| @@ -521,7 +520,7 @@ DIR, ARG, and WINDOW are handled as by `windmove-other-window-loc'." | |||
| 521 | ;; Selects the window that's hopefully at the location returned by | 520 | ;; Selects the window that's hopefully at the location returned by |
| 522 | ;; `windmove-other-window-loc', or screams if there's no window there. | 521 | ;; `windmove-other-window-loc', or screams if there's no window there. |
| 523 | (defun windmove-do-window-select (dir &optional arg window) | 522 | (defun windmove-do-window-select (dir &optional arg window) |
| 524 | "Moves to the window at direction DIR. | 523 | "Move to the window at direction DIR. |
| 525 | DIR, ARG, and WINDOW are handled as by `windmove-other-window-loc'. | 524 | DIR, ARG, and WINDOW are handled as by `windmove-other-window-loc'. |
| 526 | If no window is at direction DIR, an error is signaled." | 525 | If no window is at direction DIR, an error is signaled." |
| 527 | (let ((other-window (windmove-find-other-window dir arg window))) | 526 | (let ((other-window (windmove-find-other-window dir arg window))) |