Mercurial > emacs
comparison lisp/emacs-lisp/easymenu.el @ 78474:88c9f4e4160e
Replace `iff' in doc-strings and comments.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Wed, 08 Aug 2007 07:15:45 +0000 |
parents | 935157c0b596 |
children | 78ee6fae0e41 e5a68f18fcb9 |
comparison
equal
deleted
inserted
replaced
78473:793ccd507663 | 78474:88c9f4e4160e |
---|---|
537 ;; Item is a keymap, find the prompt string and use as item name. | 537 ;; Item is a keymap, find the prompt string and use as item name. |
538 (setq item (cons (keymap-prompt item) item))) | 538 (setq item (cons (keymap-prompt item) item))) |
539 (easy-menu-do-add-item map item before))) | 539 (easy-menu-do-add-item map item before))) |
540 | 540 |
541 (defun easy-menu-item-present-p (map path name) | 541 (defun easy-menu-item-present-p (map path name) |
542 "In submenu of MAP with path PATH, return non-nil iff item NAME is present. | 542 "In submenu of MAP with path PATH, return non-nil if item NAME is present. |
543 MAP and PATH are defined as in `easy-menu-add-item'. | 543 MAP and PATH are defined as in `easy-menu-add-item'. |
544 NAME should be a string, the name of the element to be looked for." | 544 NAME should be a string, the name of the element to be looked for." |
545 (easy-menu-return-item (easy-menu-get-map map path) name)) | 545 (easy-menu-return-item (easy-menu-get-map map path) name)) |
546 | 546 |
547 (defun easy-menu-remove-item (map path name) | 547 (defun easy-menu-remove-item (map path name) |