diff options
author | Nicolas Richard <theonewiththeevillook@yahoo.fr> | 2014-03-24 17:54:24 +0100 |
---|---|---|
committer | Juanma Barranquero <lekktu@gmail.com> | 2014-03-24 17:54:24 +0100 |
commit | 74be16492f8ef62f57c1ede79a08ddebc6847091 (patch) | |
tree | 9a417b37498cfd5a8dc3cb1252cfcca99978d101 /lisp/align.el | |
parent | c2d6c639cf2bfdb7564bcb8706ac45b0d18dc895 (diff) | |
download | emacs-74be16492f8ef62f57c1ede79a08ddebc6847091.tar.gz |
lisp/align.el (align-region): Do not fail when end-mark is nil (bug#17088).
Diffstat (limited to 'lisp/align.el')
-rw-r--r-- | lisp/align.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/align.el b/lisp/align.el index 9038adf624c..3b54aba264f 100644 --- a/lisp/align.el +++ b/lisp/align.el @@ -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)) |