projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66ad656
)
Ensure that the global sql-buffer variable is set
author
Lars Ingebrigtsen
<larsi@gnus.org>
Sun, 24 Apr 2022 11:39:36 +0000
(13:39 +0200)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Sun, 24 Apr 2022 11:39:36 +0000
(13:39 +0200)
* lisp/progmodes/sql.el (sql-product-interactive): Set the
expected global value of sql-buffer (bug#55088).
lisp/progmodes/sql.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/sql.el
b/lisp/progmodes/sql.el
index 18b0274fbfdb91300f23b33f820aab56e358e995..5e5f5e13fe63300590a59a1fcd85c30466e70b00 100644
(file)
--- 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