Function: gnuplot--beginning-of-command

gnuplot--beginning-of-command is a natively compiled function defined in gnuplot.el.

Signature

(gnuplot--beginning-of-command)

Documentation

Move point to beginning of command containing point.

Source Code

;; Defined in /nix/store/xvcy7r1jiw71avhnh6kmin403kpqrdhc-emacs-packages-deps/share/emacs/site-lisp/elpa/gnuplot-20260623.1111/gnuplot.el
;; Movement to start or end of command, including multiple commands
;; separated by semicolons
(defun gnuplot--beginning-of-command ()
  "Move point to beginning of command containing point."
  (let ((limit (gnuplot--point-at-beginning-of-continuation)))
    (while
        (and
         (search-backward ";" limit 'lim)
         (gnuplot--in-string-or-comment)))
    (skip-chars-forward ";")
    (skip-syntax-forward "-")))