]> git.eshelyaron.com Git - emacs.git/commitdiff
Replace easy-menu-change by easy-menu-add-item.
authorVinicius Jose Latorre <viniciusjl@ig.com.br>
Mon, 4 Dec 2006 15:03:21 +0000 (15:03 +0000)
committerVinicius Jose Latorre <viniciusjl@ig.com.br>
Mon, 4 Dec 2006 15:03:21 +0000 (15:03 +0000)
lisp/ChangeLog.unicode
lisp/printing.el

index 33d9efdc55c0b807762c93cc587a26d2619e7cb4..7e436513471682ff3f25389228e772ce91b65f23 100644 (file)
@@ -14,6 +14,9 @@
        * ps-mule.el:
        * 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-01  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
 
        * ps-print.el : Fix doc.
index 9423df972df3eeb1b1a8ea666ea46df62374907c..4a41dac8dc49e689f2ed7fff075e7d16d96473df 100644 (file)
@@ -3112,7 +3112,9 @@ Calls `pr-update-menus' to adjust menus."
                                    (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))