Commit 36222e78 authored by Vinicius Jose Latorre's avatar Vinicius Jose Latorre

Replace easy-menu-change by easy-menu-add-item.

parent 758e48a0
...@@ -14,6 +14,9 @@ ...@@ -14,6 +14,9 @@
* ps-mule.el: * ps-mule.el:
* ps-print.el: Remove 'Time-stamp' comment mark. * ps-print.el: Remove 'Time-stamp' comment mark.
* printing.el (pr-menu-bind): Replace 'easy-menu-change' by
'easy-menu-add-item' when called in Emacs 21 or higher.
2006-12-04 Stephen Leake <stephen_leake@stephe-leake.org> 2006-12-04 Stephen Leake <stephen_leake@stephe-leake.org>
* progmodes/ada-xref.el (ada-check-current): Doc fix. * progmodes/ada-xref.el (ada-check-current): Doc fix.
...@@ -3112,7 +3112,9 @@ Calls `pr-update-menus' to adjust menus." ...@@ -3112,7 +3112,9 @@ Calls `pr-update-menus' to adjust menus."
(pr-get-symbol (nth 1 menu-file)) (pr-get-symbol (nth 1 menu-file))
(pr-get-symbol "Print")))) (pr-get-symbol "Print"))))
(t (t
(easy-menu-change (cdr menu-file) "Print" pr-menu-spec)))))))) (easy-menu-add-item global-map menu-file
(easy-menu-create-menu "Print" pr-menu-spec)))
))))))
(pr-update-menus t)) (pr-update-menus t))
......
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