From e632c7bd80c728af76873e1358e6f2bfb4ff7c54 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Sun, 24 Apr 2022 13:39:36 +0200 Subject: [PATCH] Ensure that the global sql-buffer variable is set * lisp/progmodes/sql.el (sql-product-interactive): Set the expected global value of sql-buffer (bug#55088). --- lisp/progmodes/sql.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lisp/progmodes/sql.el b/lisp/progmodes/sql.el index 18b0274fbfd..5e5f5e13fe6 100644 --- a/lisp/progmodes/sql.el +++ b/lisp/progmodes/sql.el @@ -4644,6 +4644,9 @@ the call to \\[sql-product-interactive] with (setq sql-buffer (buffer-name new-sqli-buffer)) (run-hooks 'sql-set-sqli-hook))) + ;; Also set the global value. + (setq-default sql-buffer (buffer-name new-sqli-buffer)) + ;; Make sure the connection is complete ;; (Sometimes start up can be slow) ;; and call the login hook -- 2.39.5