lisp/doc-view.el: Silence compiler warning.
This commit is contained in:
parent
989bf36895
commit
8eda563d1e
2 changed files with 8 additions and 2 deletions
|
@ -614,9 +614,10 @@ It's a subdirectory of `doc-view-cache-directory'."
|
|||
(defun doc-view-remove-if (predicate list)
|
||||
"Return LIST with all items removed that satisfy PREDICATE."
|
||||
(let (new-list)
|
||||
(dolist (item list (nreverse new-list))
|
||||
(dolist (item list)
|
||||
(when (not (funcall predicate item))
|
||||
(setq new-list (cons item new-list))))))
|
||||
(setq new-list (cons item new-list))))
|
||||
(nreverse new-list)))
|
||||
|
||||
;;;###autoload
|
||||
(defun doc-view-mode-p (type)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue