]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix a typo in last change in sql.el
authorEli Zaretskii <eliz@gnu.org>
Mon, 21 May 2018 02:33:57 +0000 (05:33 +0300)
committerEli Zaretskii <eliz@gnu.org>
Mon, 21 May 2018 02:33:57 +0000 (05:33 +0300)
* lisp/progmodes/sql.el (sql-product-interactive): Use 'null',
not 'zerop'.  (Bug#31446)

lisp/progmodes/sql.el

index d783f6542e66ecfadc707142107d312446c31f83..1b2cdaf5f60002249e57791f2b7ba451e3693139 100644 (file)
@@ -4264,7 +4264,7 @@ the call to \\[sql-product-interactive] with
                          product
                          (sql-get-product-feature product :sqli-options)
                          (cond
-                          ((zerop new-name)
+                          ((null new-name)
                            "*SQL*")
                           ((stringp new-name)
                            (if (string-prefix-p "*SQL: " new-name t)