changeset 44670:1537553adc43

(tool-bar-local-item-from-menu): Fix parts in construction of `menu-item' item at end.
author Richard M. Stallman <rms@gnu.org>
date Fri, 19 Apr 2002 00:09:20 +0000
parents c94319aaffb8
children 3a037de0426b
files lisp/toolbar/tool-bar.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/toolbar/tool-bar.el	Fri Apr 19 00:08:19 2002 +0000
+++ b/lisp/toolbar/tool-bar.el	Fri Apr 19 00:09:20 2002 +0000
@@ -208,7 +208,7 @@
 	      (append (cdr defn) (list :image image) props))
 	  (setq defn (cdr defn))
 	  (define-key-after in-map (vector key)
-	    (append `(menu-item ,(car defn) ,(cddr defn))
+	    (append `(menu-item ,(car defn) ,(cdr defn))
 		    (list :image image) props)))))))
 
 ;;; Set up some global items.  Additions/deletions up for grabs.