mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-28 07:45:00 +00:00
* progmodes/make-mode.el (makefile-fill-paragraph): Account for the
extra backslash added to each line. Fixes: debbugs:6890
This commit is contained in:
parent
3ff7862473
commit
8f081e96de
@ -1,3 +1,9 @@
|
||||
2010-08-21 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
|
||||
Stefan Monnier <monnier@iro.umontreal.ca>
|
||||
|
||||
* progmodes/make-mode.el (makefile-fill-paragraph): Account for the
|
||||
extra backslash added to each line (bug#6890).
|
||||
|
||||
2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
|
||||
|
||||
* subr.el (read-key): Don't echo keystrokes (bug#6883).
|
||||
|
@ -1324,7 +1324,9 @@ definition and conveniently use this command."
|
||||
(save-restriction
|
||||
(narrow-to-region beginning end)
|
||||
(makefile-backslash-region (point-min) (point-max) t)
|
||||
(let ((fill-paragraph-function nil))
|
||||
(let ((fill-paragraph-function nil)
|
||||
;; Adjust fill-column to allow space for the backslash.
|
||||
(fill-column (- fill-column 1)))
|
||||
(fill-paragraph nil))
|
||||
(makefile-backslash-region (point-min) (point-max) nil)
|
||||
(goto-char (point-max))
|
||||
@ -1338,7 +1340,9 @@ definition and conveniently use this command."
|
||||
;; resulting region.
|
||||
(save-restriction
|
||||
(narrow-to-region (point) (line-beginning-position 2))
|
||||
(let ((fill-paragraph-function nil))
|
||||
(let ((fill-paragraph-function nil)
|
||||
;; Adjust fill-column to allow space for the backslash.
|
||||
(fill-column (- fill-column 1)))
|
||||
(fill-paragraph nil))
|
||||
(makefile-backslash-region (point-min) (point-max) nil))
|
||||
;; Return non-nil to indicate it's been filled.
|
||||
|
Loading…
Reference in New Issue
Block a user