branch: master
commit f86529c96f089026f4c763110149aeae909800bb
Author: Noam Postavsky <[email protected]>
Commit: Noam Postavsky <[email protected]>
only crosslink exported symbols
---
doc/yas-doc-helper.el | 10 +++-------
1 files changed, 3 insertions(+), 7 deletions(-)
diff --git a/doc/yas-doc-helper.el b/doc/yas-doc-helper.el
index ae06015..8baa26a 100755
--- a/doc/yas-doc-helper.el
+++ b/doc/yas-doc-helper.el
@@ -77,14 +77,10 @@
#'(lambda (match)
(let* ((name (downcase (match-string 1 match)))
(sym (intern name)))
- (if (and (or (boundp sym)
- (fboundp sym))
- (save-match-data
- (string-match "^yas-" name)))
- (format "[[#%s][=%s=]]"
- name name)
+ (if (memq sym yas--exported-syms)
+ (format "[[#%s][=%s=]]" name name)
(format "=%s=" name))))
- body))
+ body t))
;; output the paragraph
;;
(concat-lines heading