message.el (message-expand-group, message-completion-in-region): Correct the order of start and end of a region

This commit is contained in:
Katsumi Yamaoka 2013-09-16 23:22:02 +00:00
parent a19f6c6396
commit 1149ffdb07
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2013-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
* message.el (message-expand-group, message-completion-in-region):
Correct the order of start and end of a region.
2013-09-13 Glenn Morris <rgm@gnu.org>
* mml2015.el (gnus-create-image): Autoload it.

View file

@ -7982,12 +7982,12 @@ those headers."
group)
collection))
gnus-active-hashtb))
(message-completion-in-region e b collection)))
(message-completion-in-region b e collection)))
(defalias 'message-completion-in-region
(if (fboundp 'completion-in-region)
'completion-in-region
(lambda (e b hashtb)
(lambda (b e hashtb)
(let* ((string (buffer-substring b e))
(completions (all-completions string hashtb))
comp)