emacs-diffs
[Top][All Lists]
Advanced

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

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


From: Richard M. Stallman
Subject: [Emacs-diffs] Changes to emacs/lisp/woman.el
Date: Mon, 22 Sep 2003 11:15:27 -0400

Index: emacs/lisp/woman.el
diff -c emacs/lisp/woman.el:1.17 emacs/lisp/woman.el:1.18
*** emacs/lisp/woman.el:1.17    Mon Sep  1 11:45:18 2003
--- emacs/lisp/woman.el Mon Sep 22 11:15:26 2003
***************
*** 1221,1227 ****
                   ;; Was let-bound when file loaded, so ...
                   (setq woman-topic-at-point woman-topic-at-point-default)))
             (setq topic
!                  (current-word t))    ; only within or adjacent to word
             (assoc topic woman-topic-all-completions))
        (setq topic
              (completing-read
--- 1221,1227 ----
                   ;; Was let-bound when file loaded, so ...
                   (setq woman-topic-at-point woman-topic-at-point-default)))
             (setq topic
!                  (or (current-word t) ""))    ; only within or adjacent to 
word
             (assoc topic woman-topic-all-completions))
        (setq topic
              (completing-read
***************
*** 1230,1236 ****
               ;; Initial input suggestion (was nil), with
               ;; cursor at left ready to kill suggestion!:
               (and woman-topic-at-point
!                   (cons (current-word) 0)) ; nearest word
               'woman-topic-history)))
      ;; Note that completing-read always returns a string.
      (if (= (length topic) 0)
--- 1230,1236 ----
               ;; Initial input suggestion (was nil), with
               ;; cursor at left ready to kill suggestion!:
               (and woman-topic-at-point
!                   (cons (or (current-word) "") 0)) ; nearest word
               'woman-topic-history)))
      ;; Note that completing-read always returns a string.
      (if (= (length topic) 0)
***************
*** 1744,1750 ****
  Argument EVENT is the invoking mouse event."
    (interactive "e")                   ; mouse event
    (goto-char (posn-point (event-start event)))
!   (woman (current-word t)))
  
  ;; WoMan menu bar and pop-up menu:
  (easy-menu-define
--- 1744,1750 ----
  Argument EVENT is the invoking mouse event."
    (interactive "e")                   ; mouse event
    (goto-char (posn-point (event-start event)))
!   (woman (or (current-word t) "")))
  
  ;; WoMan menu bar and pop-up menu:
  (easy-menu-define




reply via email to

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