Skip to content

Commit

Permalink
Fix regexp (Fix #279)
Browse files Browse the repository at this point in the history
  • Loading branch information
minad committed Dec 17, 2022
1 parent a335023 commit 39315af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extensions/corfu-popupinfo.el
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ all values are in pixels relative to the origin. See
(with-current-buffer (or (car-safe res) res)
(setq res (string-trim
(replace-regexp-in-string
"[\\s-\n]*\\[back\\][\\s-\n]*" ""
"[\n\t ]*\\[back\\][\n\t ]*" ""
(buffer-string))))
(and (not (string-blank-p res)) res))))

Expand Down

0 comments on commit 39315af

Please sign in to comment.