Turns out #’resize-temp-buffer-window isn’t entirely necessary for
eshell. Which is nice.
xemacs-packages/eshell/ChangeLog addition:
2008-08-30 Aidan Kehoe <kehoea(a)parhasard.net>
* eshell.el (eshell-command):
Check the XEmacs variable temp-buffer-shrink-to-fit and call
#'shrink-window-if-larger-than-buffer instead of
#'resize-temp-buffer-window.
XEmacs Packages source patch:
Diff command: cvs -q diff -Nu
Files affected: xemacs-packages/eshell/eshell.el
===================================================================
RCS
Index: xemacs-packages/eshell/eshell.el
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/eshell/eshell.el,v
retrieving revision 1.4
diff -u -u -r1.4 eshell.el
--- xemacs-packages/eshell/eshell.el 2008/08/27 21:26:35 1.4
+++ xemacs-packages/eshell/eshell.el 2008/08/30 12:10:32
@@ -468,8 +468,11 @@
;; cause the output buffer to take up as little screen
;; real-estate as possible, if temp buffer resizing is
;; enabled
- (and intr temp-buffer-resize-mode
- (resize-temp-buffer-window)))))))))))
+ (and intr (if (featurep 'xemacs)
+ (and temp-buffer-shrink-to-fit
+ (shrink-window-if-larger-than-buffer))
+ (and temp-buffer-resize-mode
+ (resize-temp-buffer-window)))))))))))))
;;;###autoload
(defun eshell-command-result (command &optional status-var)
--
¿Dónde estará ahora mi sobrino Yoghurtu Nghé, que tuvo que huir
precipitadamente de la aldea por culpa de la escasez de rinocerontes?
_______________________________________________
XEmacs-Patches mailing list
XEmacs-Patches(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-patches