diff options
author | Gerd Moellmann <gerd@gnu.org> | 2000-09-15 11:48:44 +0000 |
---|---|---|
committer | Gerd Moellmann <gerd@gnu.org> | 2000-09-15 11:48:44 +0000 |
commit | b5d618ba9378872671b5800b59975562a963a9f0 (patch) | |
tree | b7326aa35bbb788391b335d63e55270c6e09a748 /lisp/toolbar | |
parent | 4a8e312c92d7127c0bffb93ff64f7fa240e1aae1 (diff) | |
download | emacs-b5d618ba9378872671b5800b59975562a963a9f0.tar.gz |
(toolbar-add-item): Use `:mask heuristic'
instead of `:heuristic-mask t'.
Diffstat (limited to 'lisp/toolbar')
-rw-r--r-- | lisp/toolbar/toolbar.el | 8 |
1 files 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))))) |