|
From: | Lars Ingebrigtsen |
Subject: | bug#52237: 29.0.50; [PATCH 2] Doubled separators in context-menu-mode |
Date: | Sun, 05 Dec 2021 21:20:40 +0100 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Juri Linkov <juri@linkov.net> writes: >> - (while (consp l) >> + (while (consp (cdr l)) > > This change broke flyspell-correct-word. When a context menu is invoked > on a misspelled word in flyspell-mode, context-menu-map uses the property > context-menu-function to get a command symbol 'flyspell-correct-word' > instead of a list of menu items. > > bug#50851 fixed this error by checking for a list with `(consp l)' like above: > > (consp 'flyspell-correct-word) => nil > > but now 'cdr' fails on (consp (cdr 'flyspell-correct-word)). OK; I've added another (and (consp there now. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no
[Prev in Thread] | Current Thread | [Next in Thread] |