diff lisp/resize-minibuffer.el @ 772:d682c0f82a71

[xemacs-hg @ 2002-03-13 10:00:06 by ben] a few bytecomp warning fixes, run autoconf just in case
author ben
date Wed, 13 Mar 2002 10:00:09 +0000
parents 943eaba38521
children 79940b592197
line wrap: on
line diff
--- a/lisp/resize-minibuffer.el	Wed Mar 13 08:54:06 2002 +0000
+++ b/lisp/resize-minibuffer.el	Wed Mar 13 10:00:09 2002 +0000
@@ -36,7 +36,7 @@
 
 ;; This file has received maintenance by the XEmacs development team.
 
-;; $Id: resize-minibuffer.el,v 1.2 2002/03/13 08:52:08 ben Exp $
+;; $Id: resize-minibuffer.el,v 1.3 2002/03/13 10:00:06 ben Exp $
 
 ;; This package allows the entire contents (or as much as possible) of the
 ;; minibuffer to be visible at once when typing.  As the end of a line is
@@ -160,14 +160,12 @@
 		       nil t)
 	     (make-local-hook 'post-command-hook)
 	     (add-hook 'post-command-hook 'resize-minibuffer-frame nil t)
-	     (unless (and (boundp 'icomplete-mode)
-			  icomplete-mode)
+	     (unless (if-boundp 'icomplete-mode icomplete-mode)
 	       (resize-minibuffer-frame)))))
      (t
       (make-local-hook 'post-command-hook)
       (add-hook 'post-command-hook 'resize-minibuffer-window nil t)
-      (unless (and (boundp 'icomplete-mode)
-		   icomplete-mode)
+      (unless (if-boundp 'icomplete-mode icomplete-mode)
 	(resize-minibuffer-window)))))))
 
 (defun resize-minibuffer-count-window-lines (&optional start end)