summaryrefslogtreecommitdiff
path: root/lisp/progmodes/sql.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/progmodes/sql.el')
-rw-r--r--lisp/progmodes/sql.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/sql.el b/lisp/progmodes/sql.el
index d783f6542e6..1b2cdaf5f60 100644
--- a/lisp/progmodes/sql.el
+++ b/lisp/progmodes/sql.el
@@ -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)