aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuanma Barranquero2006-02-02 11:04:55 +0000
committerJuanma Barranquero2006-02-02 11:04:55 +0000
commit26e98da9f8d7c12214f81db4da42c280aa6c57cf (patch)
tree032cc007651ce7bfd125296bbf083a7c1e172724
parent8b730780cb5c70d087739a803d50dafe822ff397 (diff)
downloademacs-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.el21
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
299the value. 300the value.
300CACHE-VAR is a variable used to cache a cached frame. 301CACHE-VAR is a variable used to cache a cached frame.
301BUFFER-VAR is a variable used to cache the buffer being used in dframe. 302BUFFER-VAR is a variable used to cache the buffer being used in dframe.
302This buffer will have `dframe-mode' run on it. 303This buffer will have `dframe-frame-mode' run on it.
303FRAME-NAME is the name of the frame to create. 304FRAME-NAME is the name of the frame to create.
304LOCAL-MODE-FN is the function used to call this one. 305LOCAL-MODE-FN is the function used to call this one.
305PARAMETERS are frame parameters to apply to this dframe. 306PARAMETERS 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.
609Should enables auto-updating if the last state was also enabled. 610Should enable auto-updating if the last state was also enabled.
610Argument E is the event making the frame visible." 611Argument 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.
620Should disables auto-updating if the last state was also enabled. 621Should disable auto-updating if the last state was also enabled.
621Argument E is the event iconifying the frame." 622Argument 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
652frame is selected. If the FRAME-VAR is active, then select the 653frame is selected. If the FRAME-VAR is active, then select the
653attached frame. If FRAME-VAR is nil, ACTIVATOR is called to 654attached frame. If FRAME-VAR is nil, ACTIVATOR is called to
654created it. HOOK is an optional argument of hooks to run when 655created it. HOOK is an optional argument of hooks to run when
655selecting FRAME." 656selecting 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.
700optional arg FRAME is nil assume the attached frame is already selected and 701If optional arg FRAME is nil assume the attached frame is already selected
701just run the hooks `dframe-after-select-attached-frame-hook'. Return the 702and just run the hooks `dframe-after-select-attached-frame-hook'. Return
702attached frame." 703the 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.
961A power click will dispose of cached data (if available) or bring a buffer 962A power click will dispose of cached data (if available) or bring a buffer
962up into a different window. 963up into a different window.
963This should be bound to mouse event E." 964This should be bound to mouse event E."