branch: master
commit d89abf274a68d50f8eeb671f4767c561dd7d274d
Author: Oleh Krehel <ohwoeo...@gmail.com>
Commit: Oleh Krehel <ohwoeo...@gmail.com>

    counsel.el (counsel--find-symbol): Silence byte compiler
---
 counsel.el |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/counsel.el b/counsel.el
index 9ed334a..8bfcbdc 100644
--- a/counsel.el
+++ b/counsel.el
@@ -170,7 +170,8 @@
 
 (defun counsel--find-symbol (x)
   "Find symbol definition that corresponds to string X."
-  (ring-insert find-tag-marker-ring (point-marker))
+  (with-no-warnings
+    (ring-insert find-tag-marker-ring (point-marker)))
   (let ((full-name (get-text-property 0 'full-name x)))
     (if full-name
         (find-library full-name)

Reply via email to