From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Luc Teirlinck Newsgroups: gmane.emacs.devel Subject: Re: obsolete comment in tool-bar.el Date: Fri, 8 Jul 2005 22:57:19 -0500 (CDT) Message-ID: <200507090357.j693vJR04940@raven.dms.auburn.edu> References: <200507071915.j67JFZT29961@raven.dms.auburn.edu> NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1120883540 27612 80.91.229.2 (9 Jul 2005 04:32:20 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 9 Jul 2005 04:32:20 +0000 (UTC) Cc: brakjoller@gmail.com, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jul 09 06:32:13 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Dr70H-0005m6-Ue for ged-emacs-devel@m.gmane.org; Sat, 09 Jul 2005 06:31:50 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dr71j-0007nw-OR for ged-emacs-devel@m.gmane.org; Sat, 09 Jul 2005 00:33:19 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Dr6wt-0006I3-RA for emacs-devel@gnu.org; Sat, 09 Jul 2005 00:28:20 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Dr6wk-0006E0-RC for emacs-devel@gnu.org; Sat, 09 Jul 2005 00:28:12 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dr6wk-000661-G7 for emacs-devel@gnu.org; Sat, 09 Jul 2005 00:28:10 -0400 Original-Received: from [131.204.53.104] (helo=manatee.dms.auburn.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dr6bu-0002xh-UK; Sat, 09 Jul 2005 00:06:39 -0400 Original-Received: from raven.dms.auburn.edu (raven.dms.auburn.edu [131.204.53.29]) by manatee.dms.auburn.edu (8.12.10/8.12.10) with ESMTP id j693xXCK017336; Fri, 8 Jul 2005 22:59:33 -0500 (CDT) Original-Received: (from teirllm@localhost) by raven.dms.auburn.edu (8.11.7p1+Sun/8.11.7) id j693vJR04940; Fri, 8 Jul 2005 22:57:19 -0500 (CDT) X-Authentication-Warning: raven.dms.auburn.edu: teirllm set sender to teirllm@dms.auburn.edu using -f Original-To: rms@gnu.org In-reply-to: (rms@gnu.org) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:40675 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:40675 The following patch to tooltip.el simplifies the standard value of the tooltip-mode defcustom further than my original version. The remaining `(fboundp 'x-show-tip)' is really necessary, even after startup. ===File ~/tooltip.el-diff=================================== *** tooltip.el 04 Jul 2005 19:51:10 -0500 1.60 --- tooltip.el 08 Jul 2005 21:39:53 -0500 *************** *** 162,171 **** ;; If you change the :init-value below, you also need to change the ;; corresponding code in startup.el. :init-value (not (or noninteractive ! (and (boundp 'emacs-quick-startup) emacs-quick-startup) ! (not (and (fboundp 'display-graphic-p) ! (display-graphic-p))) (not (fboundp 'x-show-tip)))) :group 'tooltip (unless (or (null tooltip-mode) (fboundp 'x-show-tip)) (error "Sorry, tooltips are not yet available on this system")) --- 162,171 ---- ;; If you change the :init-value below, you also need to change the ;; corresponding code in startup.el. :init-value (not (or noninteractive ! emacs-quick-startup ! (not (display-graphic-p)) (not (fboundp 'x-show-tip)))) + :initialize 'custom-initialize-safe-default :group 'tooltip (unless (or (null tooltip-mode) (fboundp 'x-show-tip)) (error "Sorry, tooltips are not yet available on this system")) ============================================================