diff options
| author | Vinicius Jose Latorre | 2006-12-14 17:58:40 +0000 |
|---|---|---|
| committer | Vinicius Jose Latorre | 2006-12-14 17:58:40 +0000 |
| commit | 0aaf5bb060eb06de80dd1f96e8cecdaebb19368b (patch) | |
| tree | e327f4fdb989813210e399a9a863a0743a38ba2e | |
| parent | e00fabd5d15e339f08a54d0096d6e0325c00c623 (diff) | |
| download | emacs-0aaf5bb060eb06de80dd1f96e8cecdaebb19368b.tar.gz emacs-0aaf5bb060eb06de80dd1f96e8cecdaebb19368b.zip | |
Fix rare bug in align.el
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/align.el | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index c758e34089b..3959c07ec16 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2006-12-14 Stephen Leake <stephen_leake@member.fsf.org> (tiny change) | ||
| 2 | |||
| 3 | * align.el (align-match-tex-pattern): Fix a rare bug which hanged | ||
| 4 | Emacs. | ||
| 5 | |||
| 1 | 2006-12-14 Richard Stallman <rms@gnu.org> | 6 | 2006-12-14 Richard Stallman <rms@gnu.org> |
| 2 | 7 | ||
| 3 | * startup.el (use-fancy-splash-screens-p): Use frame-height | 8 | * startup.el (use-fancy-splash-screens-p): Use frame-height |
diff --git a/lisp/align.el b/lisp/align.el index 43e5ab93c56..0a0144ee65a 100644 --- a/lisp/align.el +++ b/lisp/align.el | |||
| @@ -1075,7 +1075,7 @@ current position." | |||
| 1075 | (eq (char-before pos) ?\\)) | 1075 | (eq (char-before pos) ?\\)) |
| 1076 | (setq count (1+ count) pos (1- pos))) | 1076 | (setq count (1+ count) pos (1- pos))) |
| 1077 | (eq (mod count 2) 1)) | 1077 | (eq (mod count 2) 1)) |
| 1078 | (goto-char (match-beginning 2)))) | 1078 | (goto-char (match-beginning (if reverse 1 2))))) |
| 1079 | result)) | 1079 | result)) |
| 1080 | 1080 | ||
| 1081 | (defun align-new-section-p (beg end separator) | 1081 | (defun align-new-section-p (beg end separator) |