mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-27 19:31:38 +00:00
Fix Bug#32107
* lisp/progmodes/sql.el (sql-buffer-live-p): Fix handling of optional connection argument. (Bug#32107)
This commit is contained in:
parent
39489f782e
commit
1d7151e98e
@ -1270,8 +1270,9 @@ specified, it's `sql-product' or `sql-connection' must match."
|
||||
(and (derived-mode-p 'sql-interactive-mode)
|
||||
(or (not product)
|
||||
(eq product sql-product))
|
||||
(or (stringp connection)
|
||||
(string= connection sql-connection)))))))
|
||||
(or (not connection)
|
||||
(and (stringp connection)
|
||||
(string= connection sql-connection))))))))
|
||||
|
||||
;; Keymap for sql-interactive-mode.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user