Subject: Re: bug#16814: `sql-interactive-mode' overwrites `comint' variables
From: Glenn Morris <[email-masked]>
To: [email-masked]
Date: Thu, 27 Feb 2014 20:56:19 -0500
List-Id: <debbugs-submit.debbugs.gnu.org>

Version: 24.4

Emilio C. Lopes wrote:

> `sql-interactive-mode' sets the variables `comint-input-ring-separator'
> and `comint-input-ring-file-name' without making them buffer-local.

You're right about comint-input-ring-separator, but sql-interactive-mode
first calls comint-mode, which makes comint-input-ring-file-name
buffer-local.

> Here is a patch:

Partially applied, thanks.