[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

set-variable() causes some warnings in NTEmacs

From: MIYOSHI Masanori
Subject: set-variable() causes some warnings in NTEmacs
Date: Sun, 22 May 2005 10:55:10 +0900
User-agent: Wanderlust/2.15.1 (Almost Unreal) EMIKO/1.14.1 (Choanoflagellata) LIMIT/1.14.8 (Hajinosato) APEL/10.6 Emacs/22.0.50 (i386-msvc-nt5.1.2600) MULE/5.0 (SAKAKI) Meadow/3.00-dev (KIKU)

In GNU Emacs (i386-msvc-nt5.1.2600)
configured using `configure --with-msvc (12.00)'

set-variable() causes the following warnings both on the
minibuffer and the message buffer in NTEmacs.

Note, built-in variable `x-use-old-gtk-file-dialog' not bound
Note, built-in variable `x-use-underline-position-properties' not bound

The following operations regenerate them.
o start emacs with `-q'
o M-x set-variable
o Set variable:
  -> abbrev-mode
o Set abbrev-mode buffer-locally to value:
  -> t

The next patch suppresses the warnings.

It might be good for them to define x-use-old-gtk-file-dialog and
x-use-underline-position-properties as dummy built-in functions.

--- cus-start.el.orig
+++ cus-start.el
@@ -323,7 +323,13 @@
                      ((string-match "\\`w32-" (symbol-name symbol))
                       (eq system-type 'windows-nt))
                      ((string-match "\\`x-" (symbol-name symbol))
-                      (fboundp 'x-create-frame))
+                      (and (fboundp 'x-create-frame)
+                           (cond
+                            ((eq system-type 'windows-nt)
+                             (not (memq symbol
+                                        '(x-use-old-gtk-file-dialog
+                            (t t))))

MIYOSHI Masanori (address@hidden)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]