diff options
| -rw-r--r-- | lisp/ChangeLog | 49 | ||||
| -rw-r--r-- | lisp/emacs-lisp/easymenu.el | 14 |
2 files changed, 33 insertions, 30 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 79d755abb8a..b04d70ac7ff 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2000-07-14 Stefan Monnier <monnier@cs.yale.edu> | ||
| 2 | |||
| 3 | * emacs-lisp/easymenu.el (easy-menu-convert-item-1): Intern the label. | ||
| 4 | |||
| 1 | 2000-07-13 Dave Love <fx@gnu.org> | 5 | 2000-07-13 Dave Love <fx@gnu.org> |
| 2 | 6 | ||
| 3 | * emacs-lisp/easymenu.el: Doc fixes. | 7 | * emacs-lisp/easymenu.el: Doc fixes. |
| @@ -15,8 +19,8 @@ | |||
| 15 | 19 | ||
| 16 | 2000-07-13 Dave Love <fx@gnu.org> | 20 | 2000-07-13 Dave Love <fx@gnu.org> |
| 17 | 21 | ||
| 18 | * progmodes/fortran.el (fortran-imenu-generic-expression): Change | 22 | * progmodes/fortran.el (fortran-imenu-generic-expression): |
| 19 | definition layout. | 23 | Change definition layout. |
| 20 | (fortran-mode-menu): Reinstate customize entries. | 24 | (fortran-mode-menu): Reinstate customize entries. |
| 21 | 25 | ||
| 22 | * cus-edit.el (custom-group-menu-create, customize-menu-create): | 26 | * cus-edit.el (custom-group-menu-create, customize-menu-create): |
| @@ -35,30 +39,27 @@ | |||
| 35 | 39 | ||
| 36 | 2000-07-11 Dave Love <fx@gnu.org> | 40 | 2000-07-11 Dave Love <fx@gnu.org> |
| 37 | 41 | ||
| 38 | * progmodes/fortran.el: Don't require easymenu. Use repeat counts | 42 | * progmodes/fortran.el: Don't require easymenu. |
| 39 | in various regexps. | 43 | Use repeat counts in various regexps. |
| 40 | (fortran-mode-syntax-table): Defvar directly. | 44 | (fortran-mode-syntax-table): Defvar directly. |
| 41 | (fortran-font-lock-keywords-1, fortran-font-lock-keywords-2) | 45 | (fortran-font-lock-keywords-1, fortran-font-lock-keywords-2) |
| 42 | (fortran-font-lock-keywords-3, | 46 | (fortran-font-lock-keywords-3, fortran-font-lock-syntactic-keywords): |
| 43 | fortran-font-lock-syntactic-keywords): Use defvar, not defconst. | 47 | Use defvar, not defconst. |
| 44 | (fortran-mode-map): Change locals in `let'. Use | 48 | (fortran-mode-map): Change locals in `let'. Use `fortran-auto-fill'. |
| 45 | `fortran-auto-fill'. | ||
| 46 | (fortran-mode): Set fortran-comment-line-start-skip, | 49 | (fortran-mode): Set fortran-comment-line-start-skip, |
| 47 | fortran-comment-line-start-skip, dabbrev-case-fold-search. | 50 | fortran-comment-line-start-skip, dabbrev-case-fold-search. |
| 48 | (fortran-comment-indent): Use defsubst. | 51 | (fortran-comment-indent): Use defsubst. |
| 49 | (fortran-indent-comment, fortran-indent-to-column, | 52 | (fortran-indent-comment, fortran-indent-to-column, fortran-break-line): |
| 50 | fortran-break-line): Use fortran-comment-indent, not | 53 | Use fortran-comment-indent, not fortran-comment-indent-function. |
| 51 | fortran-comment-indent-function. | ||
| 52 | (fortran-comment-region, fortran-electric-line-number): Simplify. | 54 | (fortran-comment-region, fortran-electric-line-number): Simplify. |
| 53 | (fortran-auto-fill): New function. | 55 | (fortran-auto-fill): New function. |
| 54 | (fortran-do-auto-fill): Deleted. | 56 | (fortran-do-auto-fill): Deleted. |
| 55 | (fortran-find-comment-start-skip): Check for non-null | 57 | (fortran-find-comment-start-skip): |
| 56 | comment-start-skip. | 58 | Check for non-null comment-start-skip. |
| 57 | (fortran-auto-fill-mode, fortran-fill-statement): Use | 59 | (fortran-auto-fill-mode, fortran-fill-statement): |
| 58 | fortran-auto-fill. | 60 | Use fortran-auto-fill. |
| 59 | (fortran-fill): Use fortran-auto-fill. Check for null | 61 | (fortran-fill): Use fortran-auto-fill. Check for null |
| 60 | comment-start-skip. Simplify final clause and use end-of-line | 62 | comment-start-skip. Simplify final clause and use end-of-line finally. |
| 61 | finally. | ||
| 62 | 63 | ||
| 63 | * widget.el (widget-plist-member): New alias. | 64 | * widget.el (widget-plist-member): New alias. |
| 64 | 65 | ||
| @@ -80,7 +81,7 @@ | |||
| 80 | 2000-07-10 Kenichi Handa <handa@etl.go.jp> | 81 | 2000-07-10 Kenichi Handa <handa@etl.go.jp> |
| 81 | 82 | ||
| 82 | * international/mule-diag.el (describe-font): Adjusted for the | 83 | * international/mule-diag.el (describe-font): Adjusted for the |
| 83 | chnage of fontset-info. | 84 | change of fontset-info. |
| 84 | (print-fontset): Likewise. | 85 | (print-fontset): Likewise. |
| 85 | 86 | ||
| 86 | 2000-07-09 Stefan Monnier <monnier@cs.yale.edu> | 87 | 2000-07-09 Stefan Monnier <monnier@cs.yale.edu> |
| @@ -205,7 +206,7 @@ | |||
| 205 | list used by the standalone info reader). | 206 | list used by the standalone info reader). |
| 206 | 207 | ||
| 207 | * info.el (info-initialize): Use prune-directory-list to remove | 208 | * info.el (info-initialize): Use prune-directory-list to remove |
| 208 | non-existant directories from Info-directory-list. | 209 | non-existent directories from Info-directory-list. |
| 209 | 210 | ||
| 210 | * paths.el (Info-default-directory-list): Try a list of possible | 211 | * paths.el (Info-default-directory-list): Try a list of possible |
| 211 | info-directories instead of a single one. Add the possible | 212 | info-directories instead of a single one. Add the possible |
| @@ -258,8 +259,7 @@ | |||
| 258 | * window.el (some-window): New function. | 259 | * window.el (some-window): New function. |
| 259 | (walk-windows): Remove reference to walk-windows-start. | 260 | (walk-windows): Remove reference to walk-windows-start. |
| 260 | 261 | ||
| 261 | * hilit19.el (hilit-lookup-face-create): Don't set face colors | 262 | * hilit19.el (hilit-lookup-face-create): Don't set face colors to nil. |
| 262 | to nil. | ||
| 263 | 263 | ||
| 264 | 2000-07-03 Richard Stallman <rms@caffeine.ai.mit.edu> | 264 | 2000-07-03 Richard Stallman <rms@caffeine.ai.mit.edu> |
| 265 | 265 | ||
| @@ -287,8 +287,8 @@ | |||
| 287 | 287 | ||
| 288 | 2000-06-28 Eli Zaretskii <eliz@is.elta.co.il> | 288 | 2000-06-28 Eli Zaretskii <eliz@is.elta.co.il> |
| 289 | 289 | ||
| 290 | * menu-bar.el (menu-bar-edit-menu) <mark-whole-buffer>: Change | 290 | * menu-bar.el (menu-bar-edit-menu) <mark-whole-buffer>: |
| 291 | name to "Select All". | 291 | Change name to "Select All". |
| 292 | 292 | ||
| 293 | * dos-fns.el (convert-standard-filename): Fix last change. | 293 | * dos-fns.el (convert-standard-filename): Fix last change. |
| 294 | 294 | ||
| @@ -353,8 +353,7 @@ | |||
| 353 | 353 | ||
| 354 | 2000-06-25 Eli Zaretskii <eliz@is.elta.co.il> | 354 | 2000-06-25 Eli Zaretskii <eliz@is.elta.co.il> |
| 355 | 355 | ||
| 356 | * international/codepage.el (cp-coding-system-for-codepage-1): Doc | 356 | * international/codepage.el (cp-coding-system-for-codepage-1): Doc fix. |
| 357 | fix. | ||
| 358 | (cp864-decode-table): Doc fix. | 357 | (cp864-decode-table): Doc fix. |
| 359 | (cp720-decode-table): New variable, supports the Arabic OEM | 358 | (cp720-decode-table): New variable, supports the Arabic OEM |
| 360 | codepage used by Windows. | 359 | codepage used by Windows. |
diff --git a/lisp/emacs-lisp/easymenu.el b/lisp/emacs-lisp/easymenu.el index 221a7a9c39d..49eaa551e13 100644 --- a/lisp/emacs-lisp/easymenu.el +++ b/lisp/emacs-lisp/easymenu.el | |||
| @@ -351,11 +351,15 @@ MENU, just change it, otherwise put it last in MENU." | |||
| 351 | (or (null cache) (stringp cache) (vectorp cache))) | 351 | (or (null cache) (stringp cache) (vectorp cache))) |
| 352 | (setq prop (cons :key-sequence (cons cache prop)))))) | 352 | (setq prop (cons :key-sequence (cons cache prop)))))) |
| 353 | (t (error "Invalid menu item in easymenu"))) | 353 | (t (error "Invalid menu item in easymenu"))) |
| 354 | (cons name (and (not remove) | 354 | ;; `intern' the name so as to merge multiple entries with the same name. |
| 355 | (cons 'menu-item | 355 | ;; It also makes it easier/possible to lookup/change menu bindings |
| 356 | (cons label | 356 | ;; via keymap functions. |
| 357 | (and name | 357 | (cons (intern name) |
| 358 | (cons command prop)))))))) | 358 | (and (not remove) |
| 359 | (cons 'menu-item | ||
| 360 | (cons label | ||
| 361 | (and name | ||
| 362 | (cons command prop)))))))) | ||
| 359 | 363 | ||
| 360 | (defun easy-menu-define-key-intern (menu key item &optional before) | 364 | (defun easy-menu-define-key-intern (menu key item &optional before) |
| 361 | "Like easy-menu-define-key, but interns KEY and BEFORE if they are strings." | 365 | "Like easy-menu-define-key, but interns KEY and BEFORE if they are strings." |