Commit 94ddbbff authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(easy-menu-do-define): Use `x-popup-menu' instead of

non-existing `easy-popup-menu'.
parent 77308fd7
......@@ -106,7 +106,7 @@ is a list of menu items, as above."
;; function.
(set symbol (easy-menu-create-keymaps (car menu) (cdr menu)))
(fset symbol (` (lambda (event) (, doc) (interactive "@e")
(easy-popup-menu event (, symbol)))))
(x-popup-menu event (, symbol)))))
(mapcar (function (lambda (map)
(define-key map (vector 'menu-bar (intern (car menu)))
(cons (car menu) (symbol-value symbol)))))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment