Function: gnuplot--syntax-propertize-extend-region
gnuplot--syntax-propertize-extend-region is a natively compiled
function defined in gnuplot.el.
Signature
(gnuplot--syntax-propertize-extend-region START END)
Documentation
Expand the region to syntax-propertize for strings and comments.
Region range is START to END. Ensures that the region being searched begins and ends outside of any lines continued with a backslash.
This function is added to syntax-propertize-extend-region-functions
in gnuplot-mode buffers.
Source Code
;; Defined in /nix/store/xvcy7r1jiw71avhnh6kmin403kpqrdhc-emacs-packages-deps/share/emacs/site-lisp/elpa/gnuplot-20260623.1111/gnuplot.el
(defun gnuplot--syntax-propertize-extend-region (start end)
"Expand the region to `syntax-propertize' for strings and comments.
Region range is START to END.
Ensures that the region being searched begins and ends outside of
any lines continued with a backslash.
This function is added to `syntax-propertize-extend-region-functions'
in `gnuplot-mode' buffers."
(let ((continuation-start
(min start
(gnuplot--point-at-beginning-of-continuation start)))
(continuation-end
(max end
(gnuplot--point-at-end-of-continuation end))))
(if (and (= continuation-start start)
(= continuation-end end))
nil
(cons continuation-start continuation-end))))