Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
27de4e20
Commit
27de4e20
authored
Aug 28, 2011
by
Deniz Dogan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* lisp/net/rcirc.el (rcirc-insert-prev-input)
(rcirc-insert-next-input): Remove unused argument.
parent
356a3681
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
4 deletions
+10
-4
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/net/rcirc.el
lisp/net/rcirc.el
+5
-4
No files found.
lisp/ChangeLog
View file @
27de4e20
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).
...
...
lisp/net/rcirc.el
View file @
27de4e20
...
...
@@ -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
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment