diff options
| author | Katsumi Yamaoka | 2013-09-16 23:22:02 +0000 |
|---|---|---|
| committer | Katsumi Yamaoka | 2013-09-16 23:22:02 +0000 |
| commit | 1149ffdb07563832d2593320d79970c8266ae85c (patch) | |
| tree | 8d777194f3defdfe2170244d2c8d2f5ed5ee33b1 | |
| parent | a19f6c6396b17d3c9cc54076b7965855ad6851e9 (diff) | |
| download | emacs-1149ffdb07563832d2593320d79970c8266ae85c.tar.gz emacs-1149ffdb07563832d2593320d79970c8266ae85c.zip | |
message.el (message-expand-group, message-completion-in-region): Correct the order of start and end of a region
| -rw-r--r-- | lisp/gnus/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/gnus/message.el | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 9c11d17645c..fc8ff9fd695 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2013-09-16 Katsumi Yamaoka <yamaoka@jpl.org> | ||
| 2 | |||
| 3 | * message.el (message-expand-group, message-completion-in-region): | ||
| 4 | Correct the order of start and end of a region. | ||
| 5 | |||
| 1 | 2013-09-13 Glenn Morris <rgm@gnu.org> | 6 | 2013-09-13 Glenn Morris <rgm@gnu.org> |
| 2 | 7 | ||
| 3 | * mml2015.el (gnus-create-image): Autoload it. | 8 | * mml2015.el (gnus-create-image): Autoload it. |
diff --git a/lisp/gnus/message.el b/lisp/gnus/message.el index d6d6b3f8bed..ba4593fad45 100644 --- a/lisp/gnus/message.el +++ b/lisp/gnus/message.el | |||
| @@ -7982,12 +7982,12 @@ those headers." | |||
| 7982 | group) | 7982 | group) |
| 7983 | collection)) | 7983 | collection)) |
| 7984 | gnus-active-hashtb)) | 7984 | gnus-active-hashtb)) |
| 7985 | (message-completion-in-region e b collection))) | 7985 | (message-completion-in-region b e collection))) |
| 7986 | 7986 | ||
| 7987 | (defalias 'message-completion-in-region | 7987 | (defalias 'message-completion-in-region |
| 7988 | (if (fboundp 'completion-in-region) | 7988 | (if (fboundp 'completion-in-region) |
| 7989 | 'completion-in-region | 7989 | 'completion-in-region |
| 7990 | (lambda (e b hashtb) | 7990 | (lambda (b e hashtb) |
| 7991 | (let* ((string (buffer-substring b e)) | 7991 | (let* ((string (buffer-substring b e)) |
| 7992 | (completions (all-completions string hashtb)) | 7992 | (completions (all-completions string hashtb)) |
| 7993 | comp) | 7993 | comp) |