branch: elpa/tablist
commit 3ade13365d5c72ce9d935110b73eaebaeb9bc0c6
Author: Andreas Politz <poli...@hochschule-trier.de>
Commit: Andreas Politz <poli...@hochschule-trier.de>

    Handle recent changes in eldoc.
    
    * lisp/tablist-filter.el (tablist-filter-help): Replace
      abandonded function eldoc-docstring-first-line with split-string.
---
 tablist-filter.el | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/tablist-filter.el b/tablist-filter.el
index eba7f1f..8e2b227 100644
--- a/tablist-filter.el
+++ b/tablist-filter.el
@@ -24,7 +24,6 @@
 
 (require 'semantic/wisent/comp)
 (require 'semantic/wisent/wisent)
-(require 'eldoc)
 
 ;;; Code:
 
@@ -309,10 +308,11 @@
        (princ (concat (make-string (max 0 (- 4 (length (symbol-name (car 
op)))))
                                    ?\s)
                       "- "
-                      (eldoc-docstring-first-line
-                       (or (documentation (cdr op))
-                           (format "FIXME: Not documented: %s"
-                                   (cdr op))))
+                      (car (split-string
+                            (or (documentation (cdr op))
+                                (format "FIXME: Not documented: %s"
+                                        (cdr op)))
+                            "\n" t))
                       "\n"))))
     (with-temp-buffer-window
      "*Help*"

Reply via email to