emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/lisp/eshell/em-hist.el


From: Richard M . Stallman
Subject: [Emacs-diffs] Changes to emacs/lisp/eshell/em-hist.el
Date: Wed, 29 Dec 2004 21:05:25 -0500

Index: emacs/lisp/eshell/em-hist.el
diff -c emacs/lisp/eshell/em-hist.el:1.15 emacs/lisp/eshell/em-hist.el:1.16
*** emacs/lisp/eshell/em-hist.el:1.15   Tue Apr 27 13:54:39 2004
--- emacs/lisp/eshell/em-hist.el        Thu Dec 30 01:47:35 2004
***************
*** 840,846 ****
        (unless (minibuffer-window-active-p (selected-window))
        (message "History item: %d" (- (ring-length eshell-history-ring) pos)))
         ;; Can't use kill-region as it sets this-command
!       (delete-region (save-excursion (eshell-bol) (point)) (point))
        (insert-and-inherit (eshell-get-history pos)))))
  
  (defun eshell-next-matching-input (regexp arg)
--- 840,846 ----
        (unless (minibuffer-window-active-p (selected-window))
        (message "History item: %d" (- (ring-length eshell-history-ring) pos)))
         ;; Can't use kill-region as it sets this-command
!       (delete-region eshell-last-output-end (point))
        (insert-and-inherit (eshell-get-history pos)))))
  
  (defun eshell-next-matching-input (regexp arg)




reply via email to

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