[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/eshell/esh-mode.el [emacs-unicode-2]
From: |
Miles Bader |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/eshell/esh-mode.el [emacs-unicode-2] |
Date: |
Thu, 11 Nov 2004 22:07:01 -0500 |
Index: emacs/lisp/eshell/esh-mode.el
diff -c emacs/lisp/eshell/esh-mode.el:1.16.6.2
emacs/lisp/eshell/esh-mode.el:1.16.6.3
*** emacs/lisp/eshell/esh-mode.el:1.16.6.2 Fri Apr 16 12:50:15 2004
--- emacs/lisp/eshell/esh-mode.el Fri Nov 12 02:53:04 2004
***************
*** 946,955 ****
(eshell-bol)
(kill-region (point) here))))
! (defun eshell-show-maximum-output ()
! "Put the end of the buffer at the bottom of the window."
! (interactive)
! (if (interactive-p)
(widen))
(goto-char (point-max))
(recenter -1))
--- 946,956 ----
(eshell-bol)
(kill-region (point) here))))
! (defun eshell-show-maximum-output (&optional interactive)
! "Put the end of the buffer at the bottom of the window.
! When run interactively, widen the buffer first."
! (interactive "p")
! (if interactive
(widen))
(goto-char (point-max))
(recenter -1))
***************
*** 1005,1011 ****
(let ((pos (point)))
(if (bobp)
(if (interactive-p)
! (error "Buffer too short to truncate"))
(delete-region (point-min) (point))
(if (interactive-p)
(message "Truncated buffer from %d to %d lines (%.1fk freed)"
--- 1006,1012 ----
(let ((pos (point)))
(if (bobp)
(if (interactive-p)
! (message "Buffer too short to truncate"))
(delete-region (point-min) (point))
(if (interactive-p)
(message "Truncated buffer from %d to %d lines (%.1fk freed)"
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/lisp/eshell/esh-mode.el [emacs-unicode-2],
Miles Bader <=