diff options
| -rw-r--r-- | etc/NEWS | 4 | ||||
| -rw-r--r-- | lisp/ChangeLog | 3 | ||||
| -rw-r--r-- | lisp/tooltip.el | 28 |
3 files changed, 21 insertions, 14 deletions
| @@ -436,6 +436,10 @@ been shown in a specific window. | |||
| 436 | This is handy for minibuffer-only frames, and is also used for the "mouse-1 | 436 | This is handy for minibuffer-only frames, and is also used for the "mouse-1 |
| 437 | pops up *Messages*" feature, which can now easily be changed. | 437 | pops up *Messages*" feature, which can now easily be changed. |
| 438 | 438 | ||
| 439 | --- | ||
| 440 | ** `tooltip-use-echo-area' is obsolete. | ||
| 441 | Rather than setting this to t, disable Tooltip mode instead. | ||
| 442 | |||
| 439 | 443 | ||
| 440 | * Editing Changes in Emacs 24.1 | 444 | * Editing Changes in Emacs 24.1 |
| 441 | 445 | ||
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index c683f94444b..e94120f566e 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2012-01-28 Chong Yidong <cyd@gnu.org> | 1 | 2012-01-28 Chong Yidong <cyd@gnu.org> |
| 2 | 2 | ||
| 3 | * tooltip.el (tooltip-mode): Doc fix. | ||
| 4 | (tooltip-use-echo-area): Mark as obsolete (Bug#6595). | ||
| 5 | |||
| 3 | * frame.el (set-cursor-color): Doc fix (Bug#352). | 6 | * frame.el (set-cursor-color): Doc fix (Bug#352). |
| 4 | 7 | ||
| 5 | * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625). | 8 | * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625). |
diff --git a/lisp/tooltip.el b/lisp/tooltip.el index 76ae62d88e2..50ae682d42d 100644 --- a/lisp/tooltip.el +++ b/lisp/tooltip.el | |||
| @@ -39,18 +39,15 @@ | |||
| 39 | ;;; Switching tooltips on/off | 39 | ;;; Switching tooltips on/off |
| 40 | 40 | ||
| 41 | (define-minor-mode tooltip-mode | 41 | (define-minor-mode tooltip-mode |
| 42 | "Toggle use of graphical tooltips (Tooltip mode). | 42 | "Toggle Tooltip mode. |
| 43 | With a prefix argument ARG, enable Tooltip mode if ARG is | 43 | With ARG, turn Tooltip mode on if and only if ARG is positive. |
| 44 | positive, and disable it otherwise. If called from Lisp, enable | 44 | |
| 45 | it if ARG is omitted or nil. | 45 | When this global minor mode is enabled, Emacs displays help |
| 46 | 46 | text (e.g. for buttons and menu items that you put the mouse on) | |
| 47 | When Tooltip mode is enabled, Emacs displays help text in a | 47 | in a pop-up window. |
| 48 | pop-up window for buttons and menu items that you put the mouse | 48 | |
| 49 | on. \(However, if `tooltip-use-echo-area' is non-nil, this and | 49 | When Tooltip mode is disabled, Emacs displays help text in the |
| 50 | all pop-up help appears in the echo area.) | 50 | echo area, instead of making a pop-up window." |
| 51 | |||
| 52 | When Tooltip mode is disabled, Emacs displays one line of | ||
| 53 | the help text in the echo area, and does not make a pop-up window." | ||
| 54 | :global t | 51 | :global t |
| 55 | ;; Even if we start on a text-only terminal, make this non-nil by | 52 | ;; Even if we start on a text-only terminal, make this non-nil by |
| 56 | ;; default because we can open a graphical frame later (multi-tty). | 53 | ;; default because we can open a graphical frame later (multi-tty). |
| @@ -144,11 +141,14 @@ of the `tooltip' face are used instead." | |||
| 144 | 141 | ||
| 145 | (defcustom tooltip-use-echo-area nil | 142 | (defcustom tooltip-use-echo-area nil |
| 146 | "Use the echo area instead of tooltip frames for help and GUD tooltips. | 143 | "Use the echo area instead of tooltip frames for help and GUD tooltips. |
| 147 | To display multi-line help text in the echo area, set this to t | 144 | This variable is obsolete; instead of setting it to t, disable |
| 148 | and enable `tooltip-mode'." | 145 | `tooltip-mode' (which has a similar effect)." |
| 149 | :type 'boolean | 146 | :type 'boolean |
| 150 | :group 'tooltip) | 147 | :group 'tooltip) |
| 151 | 148 | ||
| 149 | (make-obsolete-variable 'tooltip-use-echo-area | ||
| 150 | "disable Tooltip mode instead" "24.1") | ||
| 151 | |||
| 152 | 152 | ||
| 153 | ;;; Variables that are not customizable. | 153 | ;;; Variables that are not customizable. |
| 154 | 154 | ||