mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-13 13:13:03 +00:00
only crosslink exported symbols
This commit is contained in:
parent
21914cfe32
commit
f86529c96f
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user