mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-26 10:49:33 +00:00
Do not reset input ring if one exists
Fixes: debbugs:18599
This commit is contained in:
parent
5f8947c700
commit
3af2917c91
@ -1,3 +1,7 @@
|
||||
2014-10-02 Kelvin White <kwhite@gnu.org>
|
||||
|
||||
* erc-ring.el (erc-input-ring-setup): Fixes Bug #18599
|
||||
|
||||
2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
|
||||
|
||||
* erc-track.el (erc-modified-channels-display): Update all mode lines
|
||||
|
@ -67,7 +67,8 @@ variable.")
|
||||
(defun erc-input-ring-setup ()
|
||||
"Do the setup required so that we can use comint style input rings.
|
||||
Call this function when setting up the mode."
|
||||
(setq erc-input-ring (make-ring comint-input-ring-size))
|
||||
(unless (ring-p erc-input-ring)
|
||||
(setq erc-input-ring (make-ring comint-input-ring-size)))
|
||||
(setq erc-input-ring-index nil))
|
||||
|
||||
(defun erc-add-to-input-ring (s)
|
||||
|
Loading…
Reference in New Issue
Block a user