(if (eq (car-safe action) 'boundaries)
(cons 'boundaries (completion--sifn-boundaries orig table pred (cdr action)))
(let* ((sifned (substitute-in-file-name orig))
- (result
- (let ((completion-regexp-list
- ;; Regexps are matched against the real file names after
- ;; expansion, so regexps containing $ won't work. Drop
- ;; them; we'll return more completions, but callers need to
- ;; handle that anyway.
- (cl-remove-if (lambda (regexp) (string-search "$" regexp))
- completion-regexp-list)))
- (complete-with-action action table sifned pred))))
+ (result (complete-with-action action table sifned pred)))
(cond
((null action) ; try-completion
(if (stringp result)
- ;; Extract the newly added text, quote any dollar signs, and
- ;; append it to ORIG.
+ ;; Extract the newly added text, quote any dollar signs,
+ ;; and append it to ORIG.
(let ((new-text (substring result (length sifned))))
(concat orig (minibuffer--double-dollars new-text)))
result))