Function: smart-c-at-tag-p
smart-c-at-tag-p is an autoloaded and byte-compiled function defined
in hmouse-tag.el.
Signature
(smart-c-at-tag-p &optional NO-FLASH)
Documentation
Return C tag name that point is within, else nil.
When optional NO-FLASH, do not flash.
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hmouse-tag.el
;;;###autoload
(defun smart-c-at-tag-p (&optional no-flash)
"Return C tag name that point is within, else nil.
When optional NO-FLASH, do not flash."
(let* ((identifier-chars "_a-zA-Z0-9")
(identifier (concat "[_a-zA-Z][" identifier-chars "]*")))
(save-excursion
(skip-chars-backward identifier-chars)
(if (and (looking-at identifier)
(not (member (downcase (match-string 0)) smart-c++-keywords)))
(if no-flash
(buffer-substring-no-properties (point) (match-end 0))
(smart-flash-tag
(buffer-substring-no-properties (point) (match-end 0))
(point) (match-end 0)))))))