From: Gerd Moellmann Date: Fri, 15 Sep 2000 11:48:44 +0000 (+0000) Subject: (toolbar-add-item): Use `:mask heuristic' X-Git-Tag: emacs-pretest-21.0.90~1591 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b5d618ba9378872671b5800b59975562a963a9f0;p=emacs.git (toolbar-add-item): Use `:mask heuristic' instead of `:heuristic-mask t'. --- 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)))))