mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 18:40:39 -08:00
Preserve order of completion during cycling
* rcirc.el (rcirc-completion-at-point): Specify cycle-sort-function
This commit is contained in:
parent
e17cc751ba
commit
88e07af18c
1 changed files with 5 additions and 1 deletions
|
|
@ -1151,7 +1151,11 @@ The list is updated automatically by `defun-rcirc-command'.")
|
|||
(lambda (str) (concat (funcall rcirc-nick-filter str) ": "))
|
||||
(rcirc-channel-nicks (rcirc-buffer-process)
|
||||
rcirc-target))))))
|
||||
(list beg (point) table))))
|
||||
(list beg (point)
|
||||
(lambda (str pred action)
|
||||
(if (eq action 'metadata)
|
||||
'(metadata (cycle-sort-function . identity))
|
||||
(complete-with-action action table str pred)))))))
|
||||
|
||||
(defun set-rcirc-decode-coding-system (coding-system)
|
||||
"Set the decode CODING-SYSTEM used in this channel."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue