annotate lisp/rsz-mini.el @ 27444:89c53b25be12

(checkdoc-interactive-loop): Don't lose on a function with an empty body.
author Dave Love <fx@gnu.org>
date Wed, 26 Jan 2000 17:15:13 +0000
parents f541d471520a
children dd613770eb0f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7267
4aa70d4d981c Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1 ;;; rsz-mini.el --- dynamically resize minibuffer to display entire contents
4aa70d4d981c Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2
23240
b9d8ec6db59a Comment fixes only.
Noah Friedman <friedman@splode.com>
parents: 23238
diff changeset
3 ;; Copyright (C) 1990, 1993-1995, 1997 Free Software Foundation, Inc.
7267
4aa70d4d981c Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
4
23240
b9d8ec6db59a Comment fixes only.
Noah Friedman <friedman@splode.com>
parents: 23238
diff changeset
5 ;; Author: Noah Friedman <friedman@splode.com>
b9d8ec6db59a Comment fixes only.
Noah Friedman <friedman@splode.com>
parents: 23238
diff changeset
6 ;; Roland McGrath <roland@gnu.org>
b9d8ec6db59a Comment fixes only.
Noah Friedman <friedman@splode.com>
parents: 23238
diff changeset
7 ;; Maintainer: Noah Friedman <friedman@splode.com>
11297
056c7266a614 (resize-minibuffer-window): Make sure minibuffer window is selected.
Noah Friedman <friedman@splode.com>
parents: 8240
diff changeset
8 ;; Keywords: minibuffer, window, frame, display
7267
4aa70d4d981c Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
9
25696
f541d471520a Remove code, keep the interface.
Gerd Moellmann <gerd@gnu.org>
parents: 24646
diff changeset
10 ;; $Id: rsz-mini.el,v 1.2 1999/09/13 13:00:24 gerd Exp $
18418
da941474d947 Update copyright year.
Noah Friedman <friedman@splode.com>
parents: 17423
diff changeset
11
7267
4aa70d4d981c Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
12 ;; This file is part of GNU Emacs.
4aa70d4d981c Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
13
4aa70d4d981c Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
14 ;; GNU Emacs is free software; you can redistribute it and/or modify
4aa70d4d981c Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
15 ;; it under the terms of the GNU General Public License as published by
4aa70d4d981c Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
16 ;; the Free Software Foundation; either version 2, or (at your option)
4aa70d4d981c Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
17 ;; any later version.
4aa70d4d981c Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
18
4aa70d4d981c Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
19 ;; GNU Emacs is distributed in the hope that it will be useful,
4aa70d4d981c Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
20 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
4aa70d4d981c Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
21 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4aa70d4d981c Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
22 ;; GNU General Public License for more details.
4aa70d4d981c Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
23
4aa70d4d981c Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
24 ;; You should have received a copy of the GNU General Public License
14169
83f275dcd93a Update FSF's address.
Erik Naggum <erik@naggum.no>
parents: 14123
diff changeset
25 ;; along with GNU Emacs; see the file COPYING. If not, write to the
83f275dcd93a Update FSF's address.
Erik Naggum <erik@naggum.no>
parents: 14123
diff changeset
26 ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
83f275dcd93a Update FSF's address.
Erik Naggum <erik@naggum.no>
parents: 14123
diff changeset
27 ;; Boston, MA 02111-1307, USA.
7267
4aa70d4d981c Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
28
4aa70d4d981c Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
29 ;;; Commentary:
4aa70d4d981c Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
30
25696
f541d471520a Remove code, keep the interface.
Gerd Moellmann <gerd@gnu.org>
parents: 24646
diff changeset
31 ;; This package is obsolete. Emacs now resizes mini-windows
f541d471520a Remove code, keep the interface.
Gerd Moellmann <gerd@gnu.org>
parents: 24646
diff changeset
32 ;; automatically.
7267
4aa70d4d981c Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
33
4aa70d4d981c Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
34 ;;; Code:
4aa70d4d981c Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
35
4aa70d4d981c Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
36
17423
43e483167dd3 Add defgroup; use defcustom for user vars.
Richard M. Stallman <rms@gnu.org>
parents: 16741
diff changeset
37 (defgroup resize-minibuffer nil
25696
f541d471520a Remove code, keep the interface.
Gerd Moellmann <gerd@gnu.org>
parents: 24646
diff changeset
38 "This customization group is obsolete."
17423
43e483167dd3 Add defgroup; use defcustom for user vars.
Richard M. Stallman <rms@gnu.org>
parents: 16741
diff changeset
39 :group 'frames)
43e483167dd3 Add defgroup; use defcustom for user vars.
Richard M. Stallman <rms@gnu.org>
parents: 16741
diff changeset
40
22354
2319cdbf38e5 *** empty log message ***
Dan Nicolaescu <done@ece.arizona.edu>
parents: 21670
diff changeset
41 ;;;###autoload
17423
43e483167dd3 Add defgroup; use defcustom for user vars.
Richard M. Stallman <rms@gnu.org>
parents: 16741
diff changeset
42 (defcustom resize-minibuffer-mode nil
25696
f541d471520a Remove code, keep the interface.
Gerd Moellmann <gerd@gnu.org>
parents: 24646
diff changeset
43 "*This variable is obsolete."
17423
43e483167dd3 Add defgroup; use defcustom for user vars.
Richard M. Stallman <rms@gnu.org>
parents: 16741
diff changeset
44 :type 'boolean
20581
9b78b337e8bf (resize-minibuffer-mode): Variable customized to
Richard M. Stallman <rms@gnu.org>
parents: 18418
diff changeset
45 :group 'resize-minibuffer
23238
f99998525810 (resize-minibuffer-mode): remove :version field from defcustom declaration.
Noah Friedman <friedman@splode.com>
parents: 22354
diff changeset
46 :require 'rsz-mini)
17423
43e483167dd3 Add defgroup; use defcustom for user vars.
Richard M. Stallman <rms@gnu.org>
parents: 16741
diff changeset
47
43e483167dd3 Add defgroup; use defcustom for user vars.
Richard M. Stallman <rms@gnu.org>
parents: 16741
diff changeset
48 ;;;###autoload
43e483167dd3 Add defgroup; use defcustom for user vars.
Richard M. Stallman <rms@gnu.org>
parents: 16741
diff changeset
49 (defcustom resize-minibuffer-window-max-height nil
25696
f541d471520a Remove code, keep the interface.
Gerd Moellmann <gerd@gnu.org>
parents: 24646
diff changeset
50 "*This variable is obsolete."
17423
43e483167dd3 Add defgroup; use defcustom for user vars.
Richard M. Stallman <rms@gnu.org>
parents: 16741
diff changeset
51 :type '(choice (const nil) integer)
43e483167dd3 Add defgroup; use defcustom for user vars.
Richard M. Stallman <rms@gnu.org>
parents: 16741
diff changeset
52 :group 'resize-minibuffer)
7267
4aa70d4d981c Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
53
4aa70d4d981c Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
54 ;;;###autoload
17423
43e483167dd3 Add defgroup; use defcustom for user vars.
Richard M. Stallman <rms@gnu.org>
parents: 16741
diff changeset
55 (defcustom resize-minibuffer-window-exactly t
25696
f541d471520a Remove code, keep the interface.
Gerd Moellmann <gerd@gnu.org>
parents: 24646
diff changeset
56 "*This variable is obsolete."
17423
43e483167dd3 Add defgroup; use defcustom for user vars.
Richard M. Stallman <rms@gnu.org>
parents: 16741
diff changeset
57 :type 'boolean
43e483167dd3 Add defgroup; use defcustom for user vars.
Richard M. Stallman <rms@gnu.org>
parents: 16741
diff changeset
58 :group 'resize-minibuffer)
7267
4aa70d4d981c Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
59
4aa70d4d981c Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
60 ;;;###autoload
17423
43e483167dd3 Add defgroup; use defcustom for user vars.
Richard M. Stallman <rms@gnu.org>
parents: 16741
diff changeset
61 (defcustom resize-minibuffer-frame nil
25696
f541d471520a Remove code, keep the interface.
Gerd Moellmann <gerd@gnu.org>
parents: 24646
diff changeset
62 "*This variable is obsolete."
17423
43e483167dd3 Add defgroup; use defcustom for user vars.
Richard M. Stallman <rms@gnu.org>
parents: 16741
diff changeset
63 :type 'boolean
43e483167dd3 Add defgroup; use defcustom for user vars.
Richard M. Stallman <rms@gnu.org>
parents: 16741
diff changeset
64 :group 'resize-minibuffer)
7267
4aa70d4d981c Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
65
4aa70d4d981c Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
66 ;;;###autoload
17423
43e483167dd3 Add defgroup; use defcustom for user vars.
Richard M. Stallman <rms@gnu.org>
parents: 16741
diff changeset
67 (defcustom resize-minibuffer-frame-max-height nil
25696
f541d471520a Remove code, keep the interface.
Gerd Moellmann <gerd@gnu.org>
parents: 24646
diff changeset
68 "*This variable is obsolete.")
7267
4aa70d4d981c Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
69
4aa70d4d981c Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
70 ;;;###autoload
17423
43e483167dd3 Add defgroup; use defcustom for user vars.
Richard M. Stallman <rms@gnu.org>
parents: 16741
diff changeset
71 (defcustom resize-minibuffer-frame-exactly t
25696
f541d471520a Remove code, keep the interface.
Gerd Moellmann <gerd@gnu.org>
parents: 24646
diff changeset
72 "*This variable is obsolete."
17423
43e483167dd3 Add defgroup; use defcustom for user vars.
Richard M. Stallman <rms@gnu.org>
parents: 16741
diff changeset
73 :type 'boolean
43e483167dd3 Add defgroup; use defcustom for user vars.
Richard M. Stallman <rms@gnu.org>
parents: 16741
diff changeset
74 :group 'resize-minibuffer)
8012
df03bfa5b694 (resize-minibuffer-window-exactly, resize-minibuffer-frame,
Noah Friedman <friedman@splode.com>
parents: 7590
diff changeset
75
7267
4aa70d4d981c Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
76
4aa70d4d981c Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
77 ;;;###autoload
4aa70d4d981c Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
78 (defun resize-minibuffer-mode (&optional prefix)
25696
f541d471520a Remove code, keep the interface.
Gerd Moellmann <gerd@gnu.org>
parents: 24646
diff changeset
79 "This function is obsolete."
f541d471520a Remove code, keep the interface.
Gerd Moellmann <gerd@gnu.org>
parents: 24646
diff changeset
80 (interactive "P"))
20581
9b78b337e8bf (resize-minibuffer-mode): Variable customized to
Richard M. Stallman <rms@gnu.org>
parents: 18418
diff changeset
81
7267
4aa70d4d981c Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
82 (provide 'rsz-mini)
4aa70d4d981c Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
83
4aa70d4d981c Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
84 ;; rsz-mini.el ends here