Variable: help-xref-symbol-regexp

help-xref-symbol-regexp is a variable defined in help-mode.el.gz.

Value

"\\(\\<\\(\\(variable\\|option\\)\\|\\(function\\|command\\|call\\)\\|\\(face\\)\\|\\(symbol\\|program\\|property\\)\\|\\(source \\(?:code \\)?\\(?:of\\|for\\)\\)\\)[       \n]+\\)?\\(\\\\\\+\\)?['`‘]\\(\\(?:\\sw\\|\\s_\\)+\\|`\\)['’]"

Documentation

Regexp matching doc string references to symbols.

The words preceding the quoted symbol can be used in doc strings to distinguish references to variables, functions and symbols.

Source Code

;; Defined in /usr/src/emacs/lisp/help-mode.el.gz
(defconst help-xref-symbol-regexp
  (concat "\\(\\<\\(\\(variable\\|option\\)\\|"  ; Link to var
          "\\(function\\|command\\|call\\)\\|"   ; Link to function
          "\\(face\\)\\|"                        ; Link to face
          "\\(symbol\\|program\\|property\\)\\|" ; Don't link
          "\\(source \\(?:code \\)?\\(?:of\\|for\\)\\)\\)"
          "[ \t\n]+\\)?"
          "\\(\\\\\\+\\)?"
          "['`‘]\\(\\(?:\\sw\\|\\s_\\)+\\|`\\)['’]")
  "Regexp matching doc string references to symbols.

The words preceding the quoted symbol can be used in doc strings to
distinguish references to variables, functions and symbols.")