mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2026-09-10 07:46:51 -04:00
* lisp/textmodes/fill.el (unfill-paragraph): Fix for wide chars.
This commit is contained in:
parent
39cdf4726c
commit
467069635b
|
|
@ -969,7 +969,9 @@ and END."
|
|||
(setq beg (point))
|
||||
(fill-forward-paragraph arg)
|
||||
(setq end (point)))))
|
||||
(let ((fill-column (point-max)))
|
||||
;; Multiple by at least 2 for any wide characters.
|
||||
;; Multiply by at least `tab-width' for tab characters.
|
||||
(let ((fill-column (* (max 2 tab-width) (point-max))))
|
||||
(fill-region beg end)))
|
||||
|
||||
(declare-function comment-search-forward "newcomment" (limit &optional noerror))
|
||||
|
|
|
|||
Loading…
Reference in a new issue