aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Love2003-09-01 18:47:29 +0000
committerDave Love2003-09-01 18:47:29 +0000
commita7df580dc88d32c0824344f62d86757f1cb7dda5 (patch)
tree86cd3e85d2c573014c524beaba430456badc66f5
parent1b07ce5a128dceaa22c4cafa8d2e1ffa6f594107 (diff)
downloademacs-a7df580dc88d32c0824344f62d86757f1cb7dda5.tar.gz
emacs-a7df580dc88d32c0824344f62d86757f1cb7dda5.zip
(mouse-popup-menubar, mouse-skip-word): Doc fix.
-rw-r--r--lisp/mouse.el12
1 files changed, 6 insertions, 6 deletions
diff --git a/lisp/mouse.el b/lisp/mouse.el
index bd33a570e65..ecf642caeed 100644
--- a/lisp/mouse.el
+++ b/lisp/mouse.el
@@ -166,7 +166,7 @@ Default to the Edit menu if the major mode doesn't define a menu."
166 (lookup-key menubar (vector (car submap))))))) 166 (lookup-key menubar (vector (car submap)))))))
167 167
168(defun mouse-popup-menubar (event prefix) 168(defun mouse-popup-menubar (event prefix)
169 "Pops up a menu equivalent to the menu bar a keyboard EVENT with PREFIX. 169 "Pop up a menu equivalent to the menu bar for keyboard EVENT with PREFIX.
170The contents are the items that would be in the menu bar whether or 170The contents are the items that would be in the menu bar whether or
171not it is actually displayed." 171not it is actually displayed."
172 (interactive "@e \nP") 172 (interactive "@e \nP")
@@ -895,12 +895,12 @@ If DIR is positive skip forward; if negative, skip backward."
895 (while (and (not (eobp)) (= (following-char) char)) 895 (while (and (not (eobp)) (= (following-char) char))
896 (forward-char 1)))))) 896 (forward-char 1))))))
897 897
898;; Return a list of region bounds based on START and END according to MODE.
899;; If MODE is 0 then set point to (min START END), mark to (max START END).
900;; If MODE is 1 then set point to start of word at (min START END),
901;; mark to end of word at (max START END).
902;; If MODE is 2 then do the same for lines.
903(defun mouse-start-end (start end mode) 898(defun mouse-start-end (start end mode)
899"Return a list of region bounds based on START and END according to MODE.
900If MODE is 0 then set point to (min START END), mark to (max START END).
901If MODE is 1 then set point to start of word at (min START END),
902mark to end of word at (max START END).
903If MODE is 2 then do the same for lines."
904 (if (> start end) 904 (if (> start end)
905 (let ((temp start)) 905 (let ((temp start))
906 (setq start end 906 (setq start end