Function: csv-kill-one-column

csv-kill-one-column is a natively compiled function defined in csv-mode.el.

Signature

(csv-kill-one-column FIELD)

Documentation

Kill field with index FIELD in all lines in (narrowed) buffer.

Save killed fields in csv-killed-fields. Assumes point is at point-min. Called by csv-kill-fields. Ignore blank and comment lines.

Source Code

;; Defined in /nix/store/3gmjnyw9n226b7k7jamikx980vf8267p-emacs-packages-deps/share/emacs/site-lisp/elpa/csv-mode-1.27/csv-mode.el
      (delete-char 1))))                 ; or following separator otherwise.

(defun csv-kill-one-column (field)
  "Kill field with index FIELD in all lines in (narrowed) buffer.
Save killed fields in `csv-killed-fields'.
Assumes point is at `point-min'.  Called by `csv-kill-fields'.
Ignore blank and comment lines."
  (while (not (eobp))
    (or (csv-not-looking-at-record)
	(push (csv-kill-one-field field) csv-killed-fields))
    (forward-line)))