From: john muhl Date: Sun, 30 Jul 2023 18:43:10 +0000 (-0500) Subject: Handle tabs in the SQL shown in the column listing X-Git-Tag: emacs-29.1.90~261 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=04996b21241468979ac7f8b4a80563186bee9fad;p=emacs.git Handle tabs in the SQL shown in the column listing * lisp/sqlite-mode.el (sqlite-mode-list-columns): Handle tabs. (Bug#64964) --- diff --git a/lisp/sqlite-mode.el b/lisp/sqlite-mode.el index c3047c786f7..8cb94485369 100644 --- a/lisp/sqlite-mode.el +++ b/lisp/sqlite-mode.el @@ -126,7 +126,7 @@ (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.