diff lisp/w3/w3-toolbar.el @ 116:9f59509498e1 r20-1b10

Import from CVS: tag r20-1b10
author cvs
date Mon, 13 Aug 2007 09:23:06 +0200
parents 0d2f883870bc
children 5a88923fcbfe
line wrap: on
line diff
--- a/lisp/w3/w3-toolbar.el	Mon Aug 13 09:21:56 2007 +0200
+++ b/lisp/w3/w3-toolbar.el	Mon Aug 13 09:23:06 2007 +0200
@@ -1,7 +1,7 @@
 ;;; w3-toolbar.el --- Toolbar functions for emacs-w3
 ;; Author: wmperry
-;; Created: 1997/02/03 15:38:24
-;; Version: 1.8
+;; Created: 1997/03/26 00:01:47
+;; Version: 1.9
 ;; Keywords: mouse, toolbar
 
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
@@ -163,7 +163,8 @@
 	     (expand-file-name "w3" data-directory))))
   (cond
    ((not (file-exists-p w3-toolbar-icon-directory))
-    (w3-warn 'files "Toolbar directory does not exist."))
+    (and w3-running-xemacs
+	 (w3-warn 'files "Toolbar directory does not exist.")))
    ((not (fboundp 'toolbar-make-button-list))
     nil)
    ((eq w3-toolbar-type 'text)