diff options
| author | Juanma Barranquero | 2006-02-02 11:04:55 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2006-02-02 11:04:55 +0000 |
| commit | 26e98da9f8d7c12214f81db4da42c280aa6c57cf (patch) | |
| tree | 032cc007651ce7bfd125296bbf083a7c1e172724 | |
| parent | 8b730780cb5c70d087739a803d50dafe822ff397 (diff) | |
| download | emacs-26e98da9f8d7c12214f81db4da42c280aa6c57cf.tar.gz emacs-26e98da9f8d7c12214f81db4da42c280aa6c57cf.zip | |
(dframe-handle-make-frame-visible, dframe-handle-iconify-frame,
dframe-get-focus, dframe-select-attached-frame, dframe-power-click,
dframe-frame-mode): Fix typos in docstrings.
| -rw-r--r-- | lisp/dframe.el | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/lisp/dframe.el b/lisp/dframe.el index 56bbdc36c01..e15b57af605 100644 --- a/lisp/dframe.el +++ b/lisp/dframe.el | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | ;;; dframe --- dedicate frame support modes | 1 | ;;; dframe --- dedicate frame support modes |
| 2 | 2 | ||
| 3 | ;;; Copyright (C) 1996, 97, 98, 99, 2000, 01, 02, 03, 04, 05 Free Software Foundation | 3 | ;;; Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, |
| 4 | ;; 2005 Free Software Foundation | ||
| 4 | 5 | ||
| 5 | ;; Author: Eric M. Ludlam <zappo@gnu.org> | 6 | ;; Author: Eric M. Ludlam <zappo@gnu.org> |
| 6 | ;; Keywords: file, tags, tools | 7 | ;; Keywords: file, tags, tools |
| @@ -299,7 +300,7 @@ This frame is either resurrected, hidden, killed, etc based on | |||
| 299 | the value. | 300 | the value. |
| 300 | CACHE-VAR is a variable used to cache a cached frame. | 301 | CACHE-VAR is a variable used to cache a cached frame. |
| 301 | BUFFER-VAR is a variable used to cache the buffer being used in dframe. | 302 | BUFFER-VAR is a variable used to cache the buffer being used in dframe. |
| 302 | This buffer will have `dframe-mode' run on it. | 303 | This buffer will have `dframe-frame-mode' run on it. |
| 303 | FRAME-NAME is the name of the frame to create. | 304 | FRAME-NAME is the name of the frame to create. |
| 304 | LOCAL-MODE-FN is the function used to call this one. | 305 | LOCAL-MODE-FN is the function used to call this one. |
| 305 | PARAMETERS are frame parameters to apply to this dframe. | 306 | PARAMETERS are frame parameters to apply to this dframe. |
| @@ -606,7 +607,7 @@ The function must take an EVENT.") | |||
| 606 | 607 | ||
| 607 | (defun dframe-handle-make-frame-visible (e) | 608 | (defun dframe-handle-make-frame-visible (e) |
| 608 | "Handle a `make-frame-visible' event. | 609 | "Handle a `make-frame-visible' event. |
| 609 | Should enables auto-updating if the last state was also enabled. | 610 | Should enable auto-updating if the last state was also enabled. |
| 610 | Argument E is the event making the frame visible." | 611 | Argument E is the event making the frame visible." |
| 611 | (interactive "e") | 612 | (interactive "e") |
| 612 | (let ((f last-event-frame)) | 613 | (let ((f last-event-frame)) |
| @@ -617,7 +618,7 @@ Argument E is the event making the frame visible." | |||
| 617 | 618 | ||
| 618 | (defun dframe-handle-iconify-frame (e) | 619 | (defun dframe-handle-iconify-frame (e) |
| 619 | "Handle a `iconify-frame' event. | 620 | "Handle a `iconify-frame' event. |
| 620 | Should disables auto-updating if the last state was also enabled. | 621 | Should disable auto-updating if the last state was also enabled. |
| 621 | Argument E is the event iconifying the frame." | 622 | Argument E is the event iconifying the frame." |
| 622 | (interactive "e") | 623 | (interactive "e") |
| 623 | (let ((f last-event-frame)) | 624 | (let ((f last-event-frame)) |
| @@ -652,7 +653,7 @@ If the selected frame is not in the symbol FRAME-VAR, then FRAME-VAR | |||
| 652 | frame is selected. If the FRAME-VAR is active, then select the | 653 | frame is selected. If the FRAME-VAR is active, then select the |
| 653 | attached frame. If FRAME-VAR is nil, ACTIVATOR is called to | 654 | attached frame. If FRAME-VAR is nil, ACTIVATOR is called to |
| 654 | created it. HOOK is an optional argument of hooks to run when | 655 | created it. HOOK is an optional argument of hooks to run when |
| 655 | selecting FRAME." | 656 | selecting FRAME-VAR." |
| 656 | (interactive) | 657 | (interactive) |
| 657 | (if (eq (selected-frame) (symbol-value frame-var)) | 658 | (if (eq (selected-frame) (symbol-value frame-var)) |
| 658 | (if (frame-live-p dframe-attached-frame) | 659 | (if (frame-live-p dframe-attached-frame) |
| @@ -696,10 +697,10 @@ If optional arg FRAME is nil just return `dframe-attached-frame'." | |||
| 696 | dframe-attached-frame)) | 697 | dframe-attached-frame)) |
| 697 | 698 | ||
| 698 | (defun dframe-select-attached-frame (&optional frame) | 699 | (defun dframe-select-attached-frame (&optional frame) |
| 699 | "Switch to the frame the dframe controlled frame FRAME was started from. If | 700 | "Switch to the frame the dframe controlled frame FRAME was started from. |
| 700 | optional arg FRAME is nil assume the attached frame is already selected and | 701 | If optional arg FRAME is nil assume the attached frame is already selected |
| 701 | just run the hooks `dframe-after-select-attached-frame-hook'. Return the | 702 | and just run the hooks `dframe-after-select-attached-frame-hook'. Return |
| 702 | attached frame." | 703 | the attached frame." |
| 703 | (let ((frame (dframe-attached-frame frame))) | 704 | (let ((frame (dframe-attached-frame frame))) |
| 704 | (if frame (select-frame frame)) | 705 | (if frame (select-frame frame)) |
| 705 | (prog1 frame | 706 | (prog1 frame |
| @@ -957,7 +958,7 @@ This should be bound to mouse event E." | |||
| 957 | (funcall dframe-mouse-position-function))) | 958 | (funcall dframe-mouse-position-function))) |
| 958 | 959 | ||
| 959 | (defun dframe-power-click (e) | 960 | (defun dframe-power-click (e) |
| 960 | "Activate any `dframe' mouse click as a power click. | 961 | "Activate any dframe mouse click as a power click. |
| 961 | A power click will dispose of cached data (if available) or bring a buffer | 962 | A power click will dispose of cached data (if available) or bring a buffer |
| 962 | up into a different window. | 963 | up into a different window. |
| 963 | This should be bound to mouse event E." | 964 | This should be bound to mouse event E." |