Function: texinfo-inside-env-p
texinfo-inside-env-p is a byte-compiled function defined in
texinfo.el.gz.
Signature
(texinfo-inside-env-p ENV &optional BOUND)
Documentation
Non-nil if inside an environment matching the regexp @ENV.
Source Code
;; Defined in /usr/src/emacs/lisp/textmodes/texinfo.el.gz
(defun texinfo-inside-env-p (env &optional bound)
"Non-nil if inside an environment matching the regexp @ENV."
(save-excursion
(and (re-search-backward (concat "@\\(end\\s +\\)?" env) bound t)
(not (match-end 1)))))