# HG changeset patch # User Gerd Moellmann # Date 969018524 0 # Node ID 8dfcbd633017079b7e938d06ddf1b80249a7783b # Parent 829ed9cc42da78c129d301b48425ae18da8bde80 (toolbar-add-item): Use `:mask heuristic' instead of `:heuristic-mask t'. diff -r 829ed9cc42da -r 8dfcbd633017 lisp/toolbar/toolbar.el --- 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)))))