mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-29 07:58:28 +00:00
* lisp/progmodes/sql.el (sql-interactive-mode): Avoid setting global value
of comint-input-ring-separator. Fixes: debbugs:16814
This commit is contained in:
parent
0fcfa97418
commit
289996f5e1
@ -1,3 +1,8 @@
|
||||
2014-02-28 Emilio C. Lopes <eclig@gmx.net>
|
||||
|
||||
* progmodes/sql.el (sql-interactive-mode):
|
||||
Avoid setting global comint-input-ring-separator. (Bug#16814)
|
||||
|
||||
2014-02-27 Michael Albinus <michael.albinus@gmx.de>
|
||||
|
||||
* net/dbus.el (dbus--init-bus): Declare function.
|
||||
|
@ -3928,8 +3928,8 @@ you entered, right above the output it created.
|
||||
;; People wanting a different history file for each
|
||||
;; buffer/process/client/whatever can change separator and file-name
|
||||
;; on the sql-interactive-mode-hook.
|
||||
(setq comint-input-ring-separator sql-input-ring-separator
|
||||
comint-input-ring-file-name sql-input-ring-file-name)
|
||||
(setq-local comint-input-ring-separator sql-input-ring-separator)
|
||||
(setq comint-input-ring-file-name sql-input-ring-file-name)
|
||||
;; Calling the hook before calling comint-read-input-ring allows users
|
||||
;; to set comint-input-ring-file-name in sql-interactive-mode-hook.
|
||||
(comint-read-input-ring t))
|
||||
|
Loading…
Reference in New Issue
Block a user