Commit 41849bf9 authored by Juanma Barranquero's avatar Juanma Barranquero
Browse files

* simple.el (transpose-subr): Give clearer error when the mark is not set.

  (Bug#4807)
parent 242bc74c
2009-10-26 Juanma Barranquero <lekktu@gmail.com>
* simple.el (transpose-subr): Give clearer error when the mark
is not set. (Bug#4807)
2009-10-26 Michael Albinus <michael.albinus@gmx.de>
* net/tramp.el (tramp-perl-file-truename): New defconst. Perl
......
......@@ -4852,7 +4852,7 @@ With argument 0, interchanges line point is in with line mark is in."
((= arg 0)
(save-excursion
(setq pos1 (funcall aux 1))
(goto-char (mark))
(goto-char (or (mark) (error "No mark set in this buffer")))
(setq pos2 (funcall aux 1))
(transpose-subr-1 pos1 pos2))
(exchange-point-and-mark))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment