]> git.eshelyaron.com Git - emacs.git/commitdiff
(read-from-whole-string): Add call to `ignore'.
authorRichard M. Stallman <rms@gnu.org>
Mon, 14 Oct 2002 01:27:08 +0000 (01:27 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 14 Oct 2002 01:27:08 +0000 (01:27 +0000)
lisp/thingatpt.el

index 6e2c4e4317b272057a646ed9921f24a49d7410c9..73f88f4b4a56c82c10947b69b9563154a2974519 100644 (file)
@@ -384,7 +384,8 @@ Signal an error if the entire string was not used."
   (let* ((read-data (read-from-string str))
         (more-left 
          (condition-case nil
-             (progn (read-from-string (substring str (cdr read-data)))
+             ;; The call to `ignore' suppresses a warning.
+             (progn (ignore (read-from-string (substring str (cdr read-data))))
                     t)
            (end-of-file nil))))
     (if more-left