changeset 31634:8dfcbd633017

(toolbar-add-item): Use `:mask heuristic' instead of `:heuristic-mask t'.
author Gerd Moellmann <gerd@gnu.org>
date Fri, 15 Sep 2000 11:48:44 +0000
parents 829ed9cc42da
children 208d8385ccae
files lisp/toolbar/toolbar.el
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/toolbar/toolbar.el	Fri Sep 15 11:48:16 2000 +0000
+++ b/lisp/toolbar/toolbar.el	Fri Sep 15 11:48:44 2000 +0000
@@ -75,10 +75,10 @@
 			     (:type xpm :file ,(concat icon ".xpm"))))))
     (when image
       (unless (memq 'xbm image)
-	(setq image (append image '(:heuristic-mask t))))
-       (if (memq :enable props)
- 	(let ((dis (append image '(:algorithm laplace))))
- 	  (setq image (vector image image dis dis))))
+	(setq image (append image '(:mask heuristict))))
+      (if (memq :enable props)
+	  (let ((dis (append image '(:algorithm laplace))))
+	    (setq image (vector image image dis dis))))
       (define-key-after (or map toolbar-global-map) (vector key)
 	`(menu-item ,(symbol-name key) ,def :image ,image ,@props)))))