summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/debug.el
diff options
context:
space:
mode:
authorSamuel Freilich <sfreilich@google.com>2017-08-23 13:40:45 -0400
committerNoam Postavsky <npostavs@gmail.com>2017-08-30 20:10:36 -0400
commitcda26e64621d71c6a797f694418d844a621998be (patch)
tree9ac729275eb1129bacb340ba849d84ffc4eb3a46 /lisp/emacs-lisp/debug.el
parent160295867de98241a16f2ede93da7e825ed4406b (diff)
downloademacs-cda26e64621d71c6a797f694418d844a621998be.tar.gz
emacs-cda26e64621d71c6a797f694418d844a621998be.tar.bz2
emacs-cda26e64621d71c6a797f694418d844a621998be.zip
Do not split line before width of fill-prefix
When auto-filling a paragraph, don't split a line before the width of the fill-prefix, creating a subsequent line that is as long or longer (Bug#20774). * lisp/simple.el (do-auto-fill): Only consider break-points that are later in the line than the width of the fill-prefix. This is a more general solution than the previous logic, which only skipped over the exact fill-prefix. The fill-prefix doesn't necessarily match the prefix of the first line of a paragraph in adaptive-fill-mode.
Diffstat (limited to 'lisp/emacs-lisp/debug.el')
0 files changed, 0 insertions, 0 deletions