Commit 27de4e20 authored by Deniz Dogan's avatar Deniz Dogan

* lisp/net/rcirc.el (rcirc-insert-prev-input)

(rcirc-insert-next-input): Remove unused argument.
parent 356a3681
2011-08-28 Deniz Dogan <deniz@dogan.se>
* net/rcirc.el (rcirc-insert-prev-input)
(rcirc-insert-next-input): Remove unused argument.
2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
* shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
......
......@@ -815,18 +815,19 @@ If SILENT is non-nil, do not print the message in any irc buffer."
(defvar rcirc-input-ring nil)
(defvar rcirc-input-ring-index 0)
(defun rcirc-prev-input-string (arg)
(ring-ref rcirc-input-ring (+ rcirc-input-ring-index arg)))
(defun rcirc-insert-prev-input (arg)
(interactive "p")
(defun rcirc-insert-prev-input ()
(interactive)
(when (<= rcirc-prompt-end-marker (point))
(delete-region rcirc-prompt-end-marker (point-max))
(insert (rcirc-prev-input-string 0))
(setq rcirc-input-ring-index (1+ rcirc-input-ring-index))))
(defun rcirc-insert-next-input (arg)
(interactive "p")
(defun rcirc-insert-next-input ()
(interactive)
(when (<= rcirc-prompt-end-marker (point))
(delete-region rcirc-prompt-end-marker (point-max))
(setq rcirc-input-ring-index (1- rcirc-input-ring-index))
......
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