/[emacs]/emacs/lisp/eshell/em-hist.el
ViewVC logotype

Diff of /emacs/lisp/eshell/em-hist.el

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.15 by eliz, Tue Apr 27 13:54:39 2004 UTC revision 1.16 by rms, Thu Dec 30 01:47:35 2004 UTC
# Line 840  If N is negative, find the next or Nth n Line 840  If N is negative, find the next or Nth n
840        (unless (minibuffer-window-active-p (selected-window))        (unless (minibuffer-window-active-p (selected-window))
841          (message "History item: %d" (- (ring-length eshell-history-ring) pos)))          (message "History item: %d" (- (ring-length eshell-history-ring) pos)))
842         ;; Can't use kill-region as it sets this-command         ;; Can't use kill-region as it sets this-command
843        (delete-region (save-excursion (eshell-bol) (point)) (point))        (delete-region eshell-last-output-end (point))
844        (insert-and-inherit (eshell-get-history pos)))))        (insert-and-inherit (eshell-get-history pos)))))
845    
846  (defun eshell-next-matching-input (regexp arg)  (defun eshell-next-matching-input (regexp arg)

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26