Commit d695bd17 authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

(comint-read-input-ring): Use comint-input-ring-size from the comint buffer

instead of the temporary one.
parent c34a8a87
2007-02-23 Andreas Seltenreich <uwi7@rz.uni-karlsruhe.de>
* comint.el (comint-read-input-ring): Use comint-input-ring-size
from the comint buffer instead of the temporary one.
2007-02-23 David Reitter <david.reitter@gmail.com>
 
* cus-edit.el (custom-save-all): Canonicalize custom-file before
......@@ -896,7 +896,7 @@ See also `comint-input-ignoredups' and `comint-write-input-ring'."
;; Watch for those date stamps in history files!
(goto-char (point-max))
(let (start end history)
(while (and (< count comint-input-ring-size)
(while (and (< count size)
(re-search-backward comint-input-ring-separator nil t)
(setq end (match-beginning 0)))
(if (re-search-backward comint-input-ring-separator nil t)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment