Function: clojure-in-docstring-p
clojure-in-docstring-p is a byte-compiled function defined in
clojure-mode.el.
Signature
(clojure-in-docstring-p)
Documentation
Check whether point is in a docstring.
Source Code
;; Defined in ~/.emacs.d/elpa/clojure-mode-20260325.811/clojure-mode.el
(defsubst clojure-in-docstring-p ()
"Check whether point is in a docstring."
(let ((ppss (syntax-ppss)))
;; are we in a string?
(when (nth 3 ppss)
;; check font lock at the start of the string
(eq (get-text-property (nth 8 ppss) 'face)
'font-lock-doc-face))))