diff options
| author | Chong Yidong | 2010-01-02 14:18:44 -0500 |
|---|---|---|
| committer | Chong Yidong | 2010-01-02 14:18:44 -0500 |
| commit | 61f49e0bb661c3adbcc088bfc23a2e759561099f (patch) | |
| tree | df962ad6e5b8ac8c544b401fa0b21c5fef91a981 | |
| parent | 541362823833fe6d4ebfb18574f9029552d7f656 (diff) | |
| download | emacs-61f49e0bb661c3adbcc088bfc23a2e759561099f.tar.gz emacs-61f49e0bb661c3adbcc088bfc23a2e759561099f.zip | |
Fix last change to message-exchange-point-and-mark.
* message.el (message-exchange-point-and-mark): Rework last change to
avoid using optional arg of exchange-point-and-mark, for backward
compatibility.
| -rw-r--r-- | lisp/gnus/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/gnus/message.el | 3 |
2 files changed, 8 insertions, 1 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index dcbcb81a371..c127239b164 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2010-01-02 Chong Yidong <cyd@stupidchicken.com> | ||
| 2 | |||
| 3 | * message.el (message-exchange-point-and-mark): Rework last change to | ||
| 4 | avoid using optional arg of exchange-point-and-mark, for backward | ||
| 5 | compatibility. | ||
| 6 | |||
| 1 | 2010-01-01 Chong Yidong <cyd@stupidchicken.com> | 7 | 2010-01-01 Chong Yidong <cyd@stupidchicken.com> |
| 2 | 8 | ||
| 3 | * message.el (message-exchange-point-and-mark): Call | 9 | * message.el (message-exchange-point-and-mark): Call |
diff --git a/lisp/gnus/message.el b/lisp/gnus/message.el index 655aa4c3e6b..18feee83032 100644 --- a/lisp/gnus/message.el +++ b/lisp/gnus/message.el | |||
| @@ -7505,7 +7505,8 @@ which specify the range to operate on." | |||
| 7505 | 7505 | ||
| 7506 | (defun message-exchange-point-and-mark () | 7506 | (defun message-exchange-point-and-mark () |
| 7507 | "Exchange point and mark, but don't activate region if it was inactive." | 7507 | "Exchange point and mark, but don't activate region if it was inactive." |
| 7508 | (exchange-point-and-mark transient-mark-mode)) | 7508 | (goto-char (prog1 (mark t) |
| 7509 | (set-marker (mark-marker) (point))))) | ||
| 7509 | 7510 | ||
| 7510 | (defalias 'message-make-overlay 'make-overlay) | 7511 | (defalias 'message-make-overlay 'make-overlay) |
| 7511 | (defalias 'message-delete-overlay 'delete-overlay) | 7512 | (defalias 'message-delete-overlay 'delete-overlay) |