[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 18c4769: message-goto-body-1: Fix regexp so as not
From: |
Katsumi Yamaoka |
Subject: |
[Emacs-diffs] master 18c4769: message-goto-body-1: Fix regexp so as not to match multi-line |
Date: |
Mon, 20 Feb 2017 19:24:27 -0500 (EST) |
branch: master
commit 18c476956d552f2e6f833b74faa95c095c441541
Author: Katsumi Yamaoka <address@hidden>
Commit: Katsumi Yamaoka <address@hidden>
message-goto-body-1: Fix regexp so as not to match multi-line
* lisp/gnus/message.el (message-goto-body-1):
Fix regexp so as not to match multi-line.
---
lisp/gnus/message.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/gnus/message.el b/lisp/gnus/message.el
index 079ed52..a8f2b14 100644
--- a/lisp/gnus/message.el
+++ b/lisp/gnus/message.el
@@ -3119,7 +3119,7 @@ M-RET `message-newline-and-reformat' (break the line
and reformat)."
;; hard way.
(progn
;; Skip past all headers and continuation lines.
- (while (looking-at "[^:]+:\\|[\t ]+[^\t ]")
+ (while (looking-at "[^\t\n :]+:\\|[\t ]+[^\t\n ]")
(forward-line 1))
;; We're now at the first empty line, so perhaps move past it.
(when (and (eolp)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master 18c4769: message-goto-body-1: Fix regexp so as not to match multi-line,
Katsumi Yamaoka <=