emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/mouse.el


From: Dave Love
Subject: [Emacs-diffs] Changes to emacs/lisp/mouse.el
Date: Mon, 01 Sep 2003 14:47:29 -0400

Index: emacs/lisp/mouse.el
diff -c emacs/lisp/mouse.el:1.242 emacs/lisp/mouse.el:1.243
*** emacs/lisp/mouse.el:1.242   Mon Sep  1 11:45:13 2003
--- emacs/lisp/mouse.el Mon Sep  1 14:47:29 2003
***************
*** 166,172 ****
          (lookup-key menubar (vector (car submap)))))))
  
  (defun mouse-popup-menubar (event prefix)
!   "Pops up a menu equivalent to the menu bar a keyboard EVENT with PREFIX.
  The contents are the items that would be in the menu bar whether or
  not it is actually displayed."
    (interactive "@e \nP")
--- 166,172 ----
          (lookup-key menubar (vector (car submap)))))))
  
  (defun mouse-popup-menubar (event prefix)
!   "Pop up a menu equivalent to the menu bar for keyboard EVENT with PREFIX.
  The contents are the items that would be in the menu bar whether or
  not it is actually displayed."
    (interactive "@e \nP")
***************
*** 895,906 ****
           (while (and (not (eobp)) (= (following-char) char))
             (forward-char 1))))))
  
- ;; Return a list of region bounds based on START and END according to MODE.
- ;; If MODE is 0 then set point to (min START END), mark to (max START END).
- ;; If MODE is 1 then set point to start of word at (min START END),
- ;; mark to end of word at (max START END).
- ;; If MODE is 2 then do the same for lines.
  (defun mouse-start-end (start end mode)
    (if (> start end)
        (let ((temp start))
          (setq start end
--- 895,906 ----
           (while (and (not (eobp)) (= (following-char) char))
             (forward-char 1))))))
  
  (defun mouse-start-end (start end mode)
+ "Return a list of region bounds based on START and END according to MODE.
+ If MODE is 0 then set point to (min START END), mark to (max START END).
+ If MODE is 1 then set point to start of word at (min START END),
+ mark to end of word at (max START END).
+ If MODE is 2 then do the same for lines."
    (if (> start end)
        (let ((temp start))
          (setq start end




reply via email to

[Prev in Thread] Current Thread [Next in Thread]