Fix wording in a comment

This commit is contained in:
Adam Kruszewski 2023-07-04 16:04:28 +02:00
parent 49b9ea3024
commit d3a2f729c9

View file

@ -276,7 +276,7 @@ the end of word."
is-delete-command) is-delete-command)
;; check whether we are at word boundardy. ;; check whether we are at word boundardy.
(corfu-candidate-overlay-at-word-boundary-p)) (corfu-candidate-overlay-at-word-boundary-p))
;; ...when main compound conditions is true clause... ;; ...when main/top-level compound if condition is true clause...
(progn (progn
;; When the completion backend is SLOW, i.e. like every LSP client, ;; When the completion backend is SLOW, i.e. like every LSP client,
;; then the overlay will often not update and will interfere with the typing. ;; then the overlay will often not update and will interfere with the typing.
@ -330,7 +330,7 @@ the end of word."
;; we did the shuffling above. ;; we did the shuffling above.
(setq corfu-candidate-overlay--last-point (point)) (setq corfu-candidate-overlay--last-point (point))
(corfu-candidate-overlay--show)) (corfu-candidate-overlay--show))
;; ...when main compound conditions is false clause... ;; ...when main/top-level compound if condition is false clause...
;; so hide the overlay if the conditions to show the overlay where not met. ;; so hide the overlay if the conditions to show the overlay where not met.
(corfu-candidate-overlay--hide))))) (corfu-candidate-overlay--hide)))))