Mercurial > emacs
diff lisp/printing.el @ 90711:25387147db14
Replace easy-menu-change by easy-menu-add-item.
author | Vinicius Jose Latorre <viniciusjl@ig.com.br> |
---|---|
date | Mon, 04 Dec 2006 15:03:21 +0000 |
parents | 0b79f231aae3 |
children | 95d0cdf160ea |
line wrap: on
line diff
--- a/lisp/printing.el Mon Dec 04 14:46:24 2006 +0000 +++ b/lisp/printing.el Mon Dec 04 15:03:21 2006 +0000 @@ -3112,7 +3112,9 @@ (pr-get-symbol (nth 1 menu-file)) (pr-get-symbol "Print")))) (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))