mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-29 11:02:01 +00:00
(c-mode/symbol): Add ^` to prefix, and change
suffix to space, $ or '$, to correctly position point when going to @table style constants like DBL_MAX.
This commit is contained in:
parent
8905403474
commit
3b90e93257
@ -634,8 +634,15 @@ Return nil if there is nothing appropriate in the buffer near point."
|
||||
:regexp "\\(struct \\|union \\|enum \\)?[_a-zA-Z][_a-zA-Z0-9]*"
|
||||
:doc-spec '(("(libc)Function Index" nil
|
||||
"^[ \t]+-+ \\(Function\\|Macro\\): .*\\<" "\\>")
|
||||
;; prefix/suffix has to match things like
|
||||
;; " -- Macro: int F_DUPFD"
|
||||
;; " -- Variable: char * tzname [2]"
|
||||
;; "`DBL_MAX'" (texinfo @table)
|
||||
;; suffix "\\>" is not used because that sends DBL_MAX to
|
||||
;; DBL_MAX_EXP ("_" is a non-word char)
|
||||
("(libc)Variable Index" nil
|
||||
"^[ \t]+-+ \\(Variable\\|Macro\\): .*\\<" "\\>")
|
||||
"^\\([ \t]+-+ \\(Variable\\|Macro\\): .*\\<\\|`\\)"
|
||||
"\\( \\|'?$\\)")
|
||||
("(libc)Type Index" nil
|
||||
"^[ \t]+-+ Data Type: \\<" "\\>")
|
||||
("(termcap)Var Index" nil
|
||||
|
Loading…
Reference in New Issue
Block a user