emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] emacs-26 b239a09: Fix a typo in last change in sql.el


From: Eli Zaretskii
Subject: [Emacs-diffs] emacs-26 b239a09: Fix a typo in last change in sql.el
Date: Sun, 20 May 2018 22:34:56 -0400 (EDT)

branch: emacs-26
commit b239a096f1a4f8a05db859019a048190ea2f94a0
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>

    Fix a typo in last change in sql.el
    
    * lisp/progmodes/sql.el (sql-product-interactive): Use 'null',
    not 'zerop'.  (Bug#31446)
---
 lisp/progmodes/sql.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/progmodes/sql.el b/lisp/progmodes/sql.el
index d783f65..1b2cdaf 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)



reply via email to

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