Skip to content

Commit

Permalink
* which-key.el (which-key--create-pages-1): Use cl-decf for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremy-bryant authored and justbur committed Apr 9, 2024
1 parent 94a29cd commit 62ebafe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion which-key.el
Original file line number Diff line number Diff line change
Expand Up @@ -2077,7 +2077,7 @@ should be minimized."
;; simple search for a fitting page
(while (and (> available-lines min-lines)
(not found))
(setq available-lines (- available-lines 1)
(setq available-lines (cl-decf available-lines)
prev-result result
result (which-key--list-to-pages
keys available-lines available-width)
Expand Down

0 comments on commit 62ebafe

Please sign in to comment.