]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix compilation warning in mh-*.el
authorLars Ingebrigtsen <larsi@gnus.org>
Mon, 29 Jul 2019 12:03:37 +0000 (14:03 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Mon, 29 Jul 2019 12:03:43 +0000 (14:03 +0200)
* lisp/mh-e/mh-speed.el (mh-speed-parse-flists-output):
* lisp/mh-e/mh-search.el (mh-index-parse-search-regexp): Avoid
warning about `values-list' by using `cl-values-list' insead.

lisp/mh-e/mh-search.el
lisp/mh-e/mh-speed.el

index c017baec66b301d5148b79fd0a9b845f7e26c964..ca74b2e936e450e01d2af98b311bdd4f6db6d030 100644 (file)
@@ -717,7 +717,7 @@ parsed."
               ((equal token "and") (push 'and op-stack))
               ((equal token ")")
                (multiple-value-setq (op-stack operand-stack)
-                 (values-list (mh-index-evaluate op-stack operand-stack)))
+                 (cl-values-list (mh-index-evaluate op-stack operand-stack)))
                (when (eq (car op-stack) 'not)
                  (setq op-stack (cdr op-stack))
                  (push `(not ,(pop operand-stack)) operand-stack))
index 3e89d1b65e94ddfd1419055f769710e6ae7c7de2..fc661c882ee1e06d709acd6ed183f1698cf31957 100644 (file)
@@ -452,7 +452,7 @@ be handled next."
                              (substring output position line-end))
                 mh-speed-partial-line "")
           (multiple-value-setq (folder unseen total)
-            (values-list
+            (cl-values-list
              (mh-parse-flist-output-line line mh-speed-current-folder)))
           (when (and folder unseen total
                      (let ((old-pair (gethash folder mh-speed-flists-cache)))