Mercurial > emacs
annotate lisp/obsolete/rsz-mini.el @ 83619:5da6a46ddbd6
* s/darwin.h (SYSTEM_PURESIZE_EXTRA): Define here.
* termhooks.h (union display_info): Add mac_display_info.
* term.c (init_tty): Only use terminal->kboard when MULTI_KBOARD
is defined.
* macterm.h (struct mac_display_info): Add terminal.
* w32term.c (w32_initialize): Make static.
* macterm.c (XTset_terminal_modes): Add a terminal parameter.
(XTreset_terminal_modes): Likewise.
(x_clear_frame): Add a frame parameter.
(note_mouse_movement): Get rif from the frame.
(mac_term_init): Initialize the terminal.
(mac_initialize): Make static and move terminal initialization ...
(mac_create_terminal): ... in this new function.
* macmenu.c: Reorder includes.
(Fx_popup_menu): Use terminal specific mouse_position_hook.
* macfns.c (x_set_mouse_color): Get rif from the frame.
(x_set_tool_bar_lines): Don't use updating_frame.
(mac_window): Add 2 new parameters for consistency with other
systems.
(Fx_create_frame): Fix doc string. Rename the parameter.
(Fx_create_frame): Set the frame parameters following what is done
in X11 and w32.
(Fx_open_connection): Remove window-system check.
(start_hourglass): Likewise.
(x_create_tip_frame): Get the keyboard from the terminal.
* w32fns.c (Fx_create_frame): Use kboard from the terminal.
* term/mac-win.el: Provide mac-win.
(mac-initialized): New variable.
(mac-initialize-window-system): New function. Move global setup
here.
(handle-args-function-alist, frame-creation-function-alist):
(window-system-initialization-alist): Add mac entries.
* loadup.el: Load mac-win on a Mac.
author | Dan Nicolaescu <dann@ics.uci.edu> |
---|---|
date | Sat, 19 May 2007 19:08:02 +0000 |
parents | e3694f1cb928 |
children | 1e016d63f292 b8d9a391daf3 95d0cdf160ea |
rev | line source |
---|---|
39022 | 1 ;;; rsz-mini.el --- dynamically resize minibuffer to display entire contents |
2 | |
74509 | 3 ;; Copyright (C) 1990, 1993, 1994, 1995, 1997, 2001, 2002, 2003, 2004, |
75347 | 4 ;; 2005, 2006, 2007 Free Software Foundation, Inc. |
39022 | 5 |
6 ;; Author: Noah Friedman <friedman@splode.com> | |
7 ;; Roland McGrath <roland@gnu.org> | |
8 ;; Maintainer: Noah Friedman <friedman@splode.com> | |
9 ;; Keywords: minibuffer, window, frame, display | |
10 | |
11 ;; This file is part of GNU Emacs. | |
12 | |
13 ;; GNU Emacs is free software; you can redistribute it and/or modify | |
14 ;; it under the terms of the GNU General Public License as published by | |
15 ;; the Free Software Foundation; either version 2, or (at your option) | |
16 ;; any later version. | |
17 | |
18 ;; GNU Emacs is distributed in the hope that it will be useful, | |
19 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of | |
20 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
21 ;; GNU General Public License for more details. | |
22 | |
23 ;; You should have received a copy of the GNU General Public License | |
24 ;; along with GNU Emacs; see the file COPYING. If not, write to the | |
64085 | 25 ;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
26 ;; Boston, MA 02110-1301, USA. | |
39022 | 27 |
28 ;;; Commentary: | |
29 | |
30 ;; This package is obsolete. Emacs now resizes mini-windows | |
31 ;; automatically. | |
32 | |
33 ;;; Code: | |
34 | |
35 | |
36 (defgroup resize-minibuffer nil | |
37 "This customization group is obsolete." | |
38 :group 'frames) | |
39 | |
40 ;;;###autoload | |
41 (defcustom resize-minibuffer-mode nil | |
42 "*This variable is obsolete." | |
43 :type 'boolean | |
44 :group 'resize-minibuffer | |
45 :require 'rsz-mini) | |
46 | |
47 ;;;###autoload | |
48 (defcustom resize-minibuffer-window-max-height nil | |
49 "*This variable is obsolete." | |
50 :type '(choice (const nil) integer) | |
51 :group 'resize-minibuffer) | |
52 | |
53 ;;;###autoload | |
54 (defcustom resize-minibuffer-window-exactly t | |
55 "*This variable is obsolete." | |
56 :type 'boolean | |
57 :group 'resize-minibuffer) | |
58 | |
59 ;;;###autoload | |
60 (defcustom resize-minibuffer-frame nil | |
61 "*This variable is obsolete." | |
62 :type 'boolean | |
63 :group 'resize-minibuffer) | |
64 | |
65 ;;;###autoload | |
66 (defcustom resize-minibuffer-frame-max-height nil | |
62531
c905fcf5e3d9
Specify missing group (and type, if simple) in defcustom.
Juanma Barranquero <lekktu@gmail.com>
parents:
54770
diff
changeset
|
67 "*This variable is obsolete." |
c905fcf5e3d9
Specify missing group (and type, if simple) in defcustom.
Juanma Barranquero <lekktu@gmail.com>
parents:
54770
diff
changeset
|
68 :group 'resize-minibuffer) |
39022 | 69 |
70 ;;;###autoload | |
71 (defcustom resize-minibuffer-frame-exactly t | |
72 "*This variable is obsolete." | |
73 :type 'boolean | |
74 :group 'resize-minibuffer) | |
75 | |
76 | |
77 ;;;###autoload | |
78 (defun resize-minibuffer-mode (&optional prefix) | |
79 "This function is obsolete." | |
80 (interactive "P")) | |
81 | |
82 (provide 'rsz-mini) | |
83 | |
52401 | 84 ;;; arch-tag: 3cb85d51-ab33-4e46-8362-dd87a5d06c99 |
39022 | 85 ;;; rsz-mini.el ends here |