diff options
| author | Vinicius Jose Latorre | 2006-12-04 15:03:21 +0000 |
|---|---|---|
| committer | Vinicius Jose Latorre | 2006-12-04 15:03:21 +0000 |
| commit | 07e26c3fb0a93f083917be9a596bee101e88e334 (patch) | |
| tree | f80f5514adb29c3d8b1817ec6fd848c9e4fd2c68 | |
| parent | c2b692e313ebfc1a3d8693be459405f5607eb4cb (diff) | |
| download | emacs-07e26c3fb0a93f083917be9a596bee101e88e334.tar.gz emacs-07e26c3fb0a93f083917be9a596bee101e88e334.zip | |
Replace easy-menu-change by easy-menu-add-item.
| -rw-r--r-- | lisp/ChangeLog.unicode | 3 | ||||
| -rw-r--r-- | lisp/printing.el | 4 |
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog.unicode b/lisp/ChangeLog.unicode index 33d9efdc55c..7e436513471 100644 --- a/lisp/ChangeLog.unicode +++ b/lisp/ChangeLog.unicode | |||
| @@ -14,6 +14,9 @@ | |||
| 14 | * ps-mule.el: | 14 | * ps-mule.el: |
| 15 | * ps-print.el: Remove 'Time-stamp' comment mark. | 15 | * ps-print.el: Remove 'Time-stamp' comment mark. |
| 16 | 16 | ||
| 17 | * printing.el (pr-menu-bind): Replace 'easy-menu-change' by | ||
| 18 | 'easy-menu-add-item' when called in Emacs 21 or higher. | ||
| 19 | |||
| 17 | 2006-12-01 Vinicius Jose Latorre <viniciusjl@ig.com.br> | 20 | 2006-12-01 Vinicius Jose Latorre <viniciusjl@ig.com.br> |
| 18 | 21 | ||
| 19 | * ps-print.el : Fix doc. | 22 | * ps-print.el : Fix doc. |
diff --git a/lisp/printing.el b/lisp/printing.el index 9423df972df..4a41dac8dc4 100644 --- a/lisp/printing.el +++ b/lisp/printing.el | |||
| @@ -3112,7 +3112,9 @@ Calls `pr-update-menus' to adjust menus." | |||
| 3112 | (pr-get-symbol (nth 1 menu-file)) | 3112 | (pr-get-symbol (nth 1 menu-file)) |
| 3113 | (pr-get-symbol "Print")))) | 3113 | (pr-get-symbol "Print")))) |
| 3114 | (t | 3114 | (t |
| 3115 | (easy-menu-change (cdr menu-file) "Print" pr-menu-spec)))))))) | 3115 | (easy-menu-add-item global-map menu-file |
| 3116 | (easy-menu-create-menu "Print" pr-menu-spec))) | ||
| 3117 | )))))) | ||
| 3116 | (pr-update-menus t)) | 3118 | (pr-update-menus t)) |
| 3117 | 3119 | ||
| 3118 | 3120 | ||