emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/csv-mode 7e7dbb0cb3: Update commentary


From: Simen Heggestøyl
Subject: [elpa] externals/csv-mode 7e7dbb0cb3: Update commentary
Date: Sat, 14 May 2022 03:11:22 -0400 (EDT)

branch: externals/csv-mode
commit 7e7dbb0cb3127b1d49e86bb1c798f53edb6f4542
Author: Simen Heggestøyl <simenheg@runbox.com>
Commit: Simen Heggestøyl <simenheg@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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]