Mercurial > emacs
changeset 40793:4126b1d76d8f
(Info-fontify-node): Highlight every third menu item.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Wed, 07 Nov 2001 04:35:20 +0000 |
parents | 7ea12eee7004 |
children | 3ab0eeb4df95 |
files | lisp/info.el |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/info.el Wed Nov 07 04:27:40 2001 +0000 +++ b/lisp/info.el Wed Nov 07 04:35:20 2001 +0000 @@ -2622,7 +2622,7 @@ (let ((n 0)) (while (re-search-forward "^\\* +\\([^:\t\n]*\\):" nil t) (setq n (1+ n)) - (if (memq n '(5 9)) ; visual aids to help with 1-9 keys + (if (zerop (% n 3)) ; visual aids to help with 1-9 keys (put-text-property (match-beginning 0) (1+ (match-beginning 0)) 'face 'info-menu-5))