mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
Don't have erc-goodies and erc-ring register functions multiple times
* lisp/erc/erc-goodies.el (noncommands): Don't register functions twice. * lisp/erc/erc-ring.el (ring): Ditto.
This commit is contained in:
parent
416b83e907
commit
12efa07f95
2 changed files with 2 additions and 2 deletions
|
|
@ -46,7 +46,7 @@
|
|||
(define-erc-module ring nil
|
||||
"Stores input in a ring so that previous commands and messages can
|
||||
be recalled using M-p and M-n."
|
||||
((push 'erc-add-to-input-ring erc-pre-send-functions)
|
||||
((cl-pushnew 'erc-add-to-input-ring erc-pre-send-functions)
|
||||
(define-key erc-mode-map "\M-p" 'erc-previous-command)
|
||||
(define-key erc-mode-map "\M-n" 'erc-next-command))
|
||||
((setq erc-pre-send-functions (delq 'erc-add-to-input-ring
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue