Skip to content

Commit e00ceb2

Browse files
committed
Trimmed description and add version to documentation.
1 parent 37ff456 commit e00ceb2

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

php-extras-gen-eldoc.el

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,10 @@
8080
(with-temp-buffer
8181
(insert (cdr (assoc 'return (cdr elem))))
8282
(shr-render-buffer (current-buffer))
83-
(buffer-string)))))
83+
(delete-trailing-whitespace)
84+
(buffer-string)))
85+
"\n\n"
86+
"(" (cdr (assoc 'versions (cdr elem))) ")"))
8487
(puthash (symbol-name (car elem)) (cons `(documentation . ,doc) (cdr elem)) function-arguments-temp)))
8588
;; PHP control structures are not present in JSON list. We add
8689
;; them here (hard coded - there are not so many of them).

0 commit comments

Comments
 (0)