mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
Fix warning in completion-pcm--optimize-pattern
* lisp/minibuffer.el (completion-pcm--optimize-pattern): Remove unused variable.
This commit is contained in:
parent
e5392d38ac
commit
7b62cda96e
2 changed files with 7 additions and 1 deletions
|
|
@ -125,5 +125,11 @@
|
|||
'(("completion1" "prefix1" #("suffix1" 0 7 (face shadow)))))
|
||||
(should (equal (get-text-property 19 'face) 'shadow))))
|
||||
|
||||
(ert-deftest completion-pcm--optimize-pattern ()
|
||||
(should (equal (completion-pcm--optimize-pattern '("buf" point "f"))
|
||||
'("buf" point "f")))
|
||||
(should (equal (completion-pcm--optimize-pattern '(any "" any))
|
||||
'(any))))
|
||||
|
||||
(provide 'minibuffer-tests)
|
||||
;;; minibuffer-tests.el ends here
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue