summaryrefslogtreecommitdiff
path: root/lisp/thingatpt.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2002-10-14 01:27:08 +0000
committerRichard M. Stallman <rms@gnu.org>2002-10-14 01:27:08 +0000
commit7f1422bc46763e74285cdb15ba0453b85264e5f6 (patch)
tree7b7d0c108fcbb2b7d9f935c411297ab9a2254558 /lisp/thingatpt.el
parentf7583fb625909cb0b23bd1267492d2df2459dd88 (diff)
downloademacs-7f1422bc46763e74285cdb15ba0453b85264e5f6.tar.gz
(read-from-whole-string): Add call to `ignore'.
Diffstat (limited to 'lisp/thingatpt.el')
-rw-r--r--lisp/thingatpt.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/thingatpt.el b/lisp/thingatpt.el
index 6e2c4e4317b..73f88f4b4a5 100644
--- a/lisp/thingatpt.el
+++ b/lisp/thingatpt.el
@@ -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