(while (re-search-forward "'\\([^-][^ \t\n]+\\)'" nil t)
;; Filter out references to key sequences.
(let ((string (match-string 1)))
- (unless (key-valid-p string)
- (when-let ((symbol (intern-soft string)))
- (when (or (boundp symbol)
- (fboundp symbol))
- (buttonize-region (match-beginning 1) (match-end 1)
- (lambda (symbol)
- (describe-symbol symbol))
- symbol))))))
+ (when-let ((symbol (intern-soft string)))
+ (when (or (boundp symbol)
+ (fboundp symbol))
+ (buttonize-region (match-beginning 1) (match-end 1)
+ (lambda (symbol)
+ (describe-symbol symbol))
+ symbol)))))
;; Do manual references.
(goto-char (point-min))
(search-forward "\f" nil t)