]> git.eshelyaron.com Git - emacs.git/commitdiff
Handle tabs in the SQL shown in the column listing
authorjohn muhl <jm@pub.pink>
Sun, 30 Jul 2023 18:43:10 +0000 (13:43 -0500)
committerEli Zaretskii <eliz@gnu.org>
Thu, 3 Aug 2023 08:48:04 +0000 (11:48 +0300)
* lisp/sqlite-mode.el (sqlite-mode-list-columns): Handle tabs.
(Bug#64964)

lisp/sqlite-mode.el

index c3047c786f71c9e03c19a5c452bf6016732929b5..8cb944853693f85d34a80be53f7b926547dddbf0 100644 (file)
         (forward-line 1)
         (if (looking-at " ")
             ;; Delete the info.
-            (delete-region (point) (if (re-search-forward "^[^ ]" nil t)
+            (delete-region (point) (if (re-search-forward "^[^ \t]" nil t)
                                        (match-beginning 0)
                                      (point-max)))
           ;; Insert the info.