-2012-07-07 Kevin Ryde <user42@zip.com.au>
+2012-07-07 Kevin Ryde <user42@zip.com.au>
* woman.el (woman-strings): Fix double-quote handling (Bug#1151).
(woman-decode-region): Replace escaped-escapes without destroying
bold or underline (Bug#11552).
+ (woman2-process-escapes): Handle nofill regions (Bug#11591).
2012-07-07 Chong Yidong <cyd@gnu.org>
(while (re-search-forward "\\\\[&|^]" to t)
(woman-delete-match 0)
;; If on a line by itself, consume newline as well (Bug#3651).
- (and (eq (char-before (match-beginning 0)) ?\n)
+ ;; But not in a .nf region, preserve all newlines in that case.
+ (and (not woman-nofill)
+ (eq (char-before (match-beginning 0)) ?\n)
(eq (char-after (match-beginning 0)) ?\n)
(delete-char 1)))