emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/lisp/help.el,v [EMACS_22_BASE]


From: Martin Rudalics
Subject: [Emacs-diffs] Changes to emacs/lisp/help.el,v [EMACS_22_BASE]
Date: Mon, 06 Aug 2007 06:49:50 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Branch:         EMACS_22_BASE
Changes by:     Martin Rudalics <m061211>       07/08/06 06:49:50

Index: help.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/help.el,v
retrieving revision 1.327.2.1
retrieving revision 1.327.2.2
diff -u -b -r1.327.2.1 -r1.327.2.2
--- help.el     25 Jul 2007 04:47:20 -0000      1.327.2.1
+++ help.el     6 Aug 2007 06:49:49 -0000       1.327.2.2
@@ -958,14 +958,14 @@
     (remove-hook 'temp-buffer-show-hook 'resize-temp-buffer-window)))
 
 (defun resize-temp-buffer-window ()
-  "Resize the current window to fit its contents.
+  "Resize the selected window to fit its contents.
 Will not make it higher than `temp-buffer-max-height' nor smaller than
 `window-min-height'.  Do nothing if it is the only window on its frame, if it
 is not as wide as the frame or if some of the window's contents are scrolled
 out of view."
   (unless (or (one-window-p 'nomini)
               (not (pos-visible-in-window-p (point-min)))
-              (/=  (frame-width) (window-width)))
+              (not (window-full-width-p)))
     (fit-window-to-buffer
      (selected-window)
      (if (functionp temp-buffer-max-height)




reply via email to

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