branch: externals/csv-mode commit 7e7dbb0cb3127b1d49e86bb1c798f53edb6f4542 Author: Simen Heggestøyl <simen...@runbox.com> Commit: Simen Heggestøyl <simen...@runbox.com>
Update commentary --- csv-mode.el | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/csv-mode.el b/csv-mode.el index c39f81eabe..7ec28954c5 100644 --- a/csv-mode.el +++ b/csv-mode.el @@ -54,6 +54,15 @@ ;; - C-c C-t (`csv-transpose') interchanges rows and columns. For ;; details, see the documentation for the individual commands. +;; - `csv-set-separator' sets the CSV separator of the current buffer, +;; while `csv-guess-set-separator' guesses and sets the separator +;; based on the current buffer's contents. +;; `csv-guess-set-separator' can be useful to add to the mode hook +;; to have CSV mode guess and set the separator automatically when +;; visiting a buffer: +;; +;; (add-hook 'csv-mode-hook 'csv-guess-set-separator) + ;; CSV mode can recognize fields separated by any of several single ;; characters, specified by the value of the customizable user option ;; `csv-separators'. CSV data fields can be delimited by quote