aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2002-04-30 17:14:14 +0000
committerRichard M. Stallman2002-04-30 17:14:14 +0000
commita7938b0e01c4dac900103a39c950644c1642e4bc (patch)
tree930fed62704f18c28078e6a37dcd6112e11d9ef4
parent461f30cb27385e8f1f9b32502f803c6d19ae05da (diff)
downloademacs-a7938b0e01c4dac900103a39c950644c1642e4bc.tar.gz
emacs-a7938b0e01c4dac900103a39c950644c1642e4bc.zip
(align-region): Fix call to `message'.
Check that (car rule) is a symbol.
-rw-r--r--lisp/ChangeLog3
-rw-r--r--lisp/align.el5
2 files changed, 6 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 66ca3262ebd..d68937780a6 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,8 @@
12002-04-30 Richard M. Stallman <rms@gnu.org> 12002-04-30 Richard M. Stallman <rms@gnu.org>
2 2
3 * align.el (align-region): Fix call to `message'.
4 Check that (car rule) is a symbol.
5
3 * autoinsert.el (auto-insert-directory): Doc fix. 6 * autoinsert.el (auto-insert-directory): Doc fix.
4 7
5 * facemenu.el (describe-text-at and stuff): Moved to descr-text.el. 8 * facemenu.el (describe-text-at and stuff): Moved to descr-text.el.
diff --git a/lisp/align.el b/lisp/align.el
index 388c090a204..5f10d555113 100644
--- a/lisp/align.el
+++ b/lisp/align.el
@@ -1413,10 +1413,11 @@ aligner would have dealt with are."
1413 ;; are, if it's a very large region being 1413 ;; are, if it's a very large region being
1414 ;; aligned 1414 ;; aligned
1415 (if report 1415 (if report
1416 (let ((name (symbol-name (car rule)))) 1416 (let ((symbol (car rule)))
1417 (if name 1417 (if (and symbol (symbolp symbol))
1418 (message 1418 (message
1419 "Aligning `%s' (rule %d of %d) %d%%..." 1419 "Aligning `%s' (rule %d of %d) %d%%..."
1420 (symbol-name symbol)
1420 name rule-index rule-count 1421 name rule-index rule-count
1421 (/ (* (- (point) real-beg) 100) 1422 (/ (* (- (point) real-beg) 100)
1422 (- end-mark real-beg))) 1423 (- end-mark real-beg)))