Commit 74be1649 authored by Nicolas Richard's avatar Nicolas Richard Committed by Juanma Barranquero
Browse files

lisp/align.el (align-region): Do not fail when end-mark is nil (bug#17088).

parent c2d6c639
2014-03-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
* align.el (align-region): Do not fail when end-mark is nil (bug#17088).
2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
* progmodes/ruby-mode.el (ruby-expression-expansion-re):
......
......@@ -1603,7 +1603,7 @@ aligner would have dealt with are."
rule-index (1+ rule-index)))
;; This function can use a lot of temporary markers, so instead of
;; waiting for the next GC we delete them immediately (Bug#10047).
(set-marker end-mark nil)
(when end-mark (set-marker end-mark nil))
(dolist (m markers)
(set-marker m nil))
......
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