diff --git a/ChangeLog b/ChangeLog index 3f8be853..5e4093b3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2026-06-30 Bob Weiner + +* hui-mini.el (hui:menu-maybe-highlight-item-keys): Fix that in + column layout mode, items in the first column on 2nd and succeeding + lines did not have the first capital letter highlighted because were + neglecting newlines as word separators and handling only spaces. + 2026-06-29 Mats Lidell * .github/workflows/main.yml (on): Reduce number of builds by diff --git a/hui-mini.el b/hui-mini.el index 816249c0..460972bb 100644 --- a/hui-mini.el +++ b/hui-mini.el @@ -3,7 +3,7 @@ ;; Author: Bob Weiner ;; ;; Orig-Date: 15-Oct-91 at 20:13:17 -;; Last-Mod: 25-Jun-26 at 09:52:07 by Bob Weiner +;; Last-Mod: 30-Jun-26 at 00:48:36 by Bob Weiner ;; ;; SPDX-License-Identifier: GPL-3.0-or-later ;; @@ -608,7 +608,7 @@ potentially modified MENU-STR." (mapc (lambda (c) (cond ((= c ?>) (setq after-menu-name-flag t)) - ((= c ?\ ) + ((memq c '(?\n ?\r ?\ )) (setq after-word-capital-letter-flag nil)) ((and after-menu-name-flag (not after-word-capital-letter-flag)