Function: gnuplot--split-string
gnuplot--split-string is a natively compiled function defined in
gnuplot.el.
Signature
(gnuplot--split-string STRING)
Documentation
Break STRING at each carriage return, returning a list of lines.
Source Code
;; Defined in /nix/store/xvcy7r1jiw71avhnh6kmin403kpqrdhc-emacs-packages-deps/share/emacs/site-lisp/elpa/gnuplot-20260623.1111/gnuplot.el
;;; --- functions for sending commands to gnuplot
(defun gnuplot--split-string (string)
"Break STRING at each carriage return, returning a list of lines."
(let ((list ()) (line "") (index 0))
(while (< index (length string))
(if (char-equal (elt string index) ?\n)
(setq list (append list (list line))
line "")
(setq line (concat line (char-to-string (elt string index)))))
(setq index (1+ index)))
list))