From b5d618ba9378872671b5800b59975562a963a9f0 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Fri, 15 Sep 2000 11:48:44 +0000 Subject: [PATCH] (toolbar-add-item): Use `:mask heuristic' instead of `:heuristic-mask t'. --- lisp/toolbar/toolbar.el | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lisp/toolbar/toolbar.el b/lisp/toolbar/toolbar.el index 460eb358989..927f38313e3 100644 --- a/lisp/toolbar/toolbar.el +++ b/lisp/toolbar/toolbar.el @@ -75,10 +75,10 @@ Info node `(elisp)Image Descriptors')." (: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))))) -- 2.39.2