diff options
| author | Stefan Monnier | 2013-01-30 15:43:02 -0500 |
|---|---|---|
| committer | Stefan Monnier | 2013-01-30 15:43:02 -0500 |
| commit | c517ec69d891bfe653c58a775721c1bbc6f74eb7 (patch) | |
| tree | f90bc3139088b6fe843e526f281782534864f7f5 | |
| parent | c491dd7037811c143fd453722c48f81c4fece58a (diff) | |
| download | emacs-c517ec69d891bfe653c58a775721c1bbc6f74eb7.tar.gz emacs-c517ec69d891bfe653c58a775721c1bbc6f74eb7.zip | |
* lisp/progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
properties.
Fixes: debbugs:13179
| -rw-r--r-- | lisp/ChangeLog | 25 | ||||
| -rw-r--r-- | lisp/progmodes/make-mode.el | 6 |
2 files changed, 21 insertions, 10 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 356fe37fb70..f0409c69ce1 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table | ||
| 4 | properties (bug#13179). | ||
| 5 | |||
| 1 | 2013-01-30 Glenn Morris <rgm@gnu.org> | 6 | 2013-01-30 Glenn Morris <rgm@gnu.org> |
| 2 | 7 | ||
| 3 | * mouse.el (mouse-drag-line): Avoid pushing same event onto | 8 | * mouse.el (mouse-drag-line): Avoid pushing same event onto |
| @@ -17,8 +22,8 @@ | |||
| 17 | 22 | ||
| 18 | 2013-01-28 Fabián Ezequiel Gallina <fgallina@cuca> | 23 | 2013-01-28 Fabián Ezequiel Gallina <fgallina@cuca> |
| 19 | 24 | ||
| 20 | * progmodes/python.el (python-shell-parse-command): Find | 25 | * progmodes/python.el (python-shell-parse-command): |
| 21 | python-shell-interpreter with modified environment. | 26 | Find python-shell-interpreter with modified environment. |
| 22 | 27 | ||
| 23 | 2013-01-26 Stefan Monnier <monnier@iro.umontreal.ca> | 28 | 2013-01-26 Stefan Monnier <monnier@iro.umontreal.ca> |
| 24 | 29 | ||
| @@ -75,8 +80,8 @@ | |||
| 75 | 80 | ||
| 76 | 2013-01-10 Fabián Ezequiel Gallina <fgallina@cuca> | 81 | 2013-01-10 Fabián Ezequiel Gallina <fgallina@cuca> |
| 77 | 82 | ||
| 78 | * progmodes/python.el (python-nav-end-of-statement): Fix | 83 | * progmodes/python.el (python-nav-end-of-statement): |
| 79 | cornercase when handling multiline strings. | 84 | Fix cornercase when handling multiline strings. |
| 80 | 85 | ||
| 81 | 2013-01-10 Glenn Morris <rgm@gnu.org> | 86 | 2013-01-10 Glenn Morris <rgm@gnu.org> |
| 82 | 87 | ||
| @@ -220,8 +225,8 @@ | |||
| 220 | 225 | ||
| 221 | 2012-12-29 Mark Lillibridge <mark.lillibridge@hp.com> | 226 | 2012-12-29 Mark Lillibridge <mark.lillibridge@hp.com> |
| 222 | 227 | ||
| 223 | * mail/rmailmm.el (rmail-insert-mime-forwarded-message): Insert | 228 | * mail/rmailmm.el (rmail-insert-mime-forwarded-message): |
| 224 | the undecoded text of the message being forwarded. (Bug#9521) | 229 | Insert the undecoded text of the message being forwarded. (Bug#9521) |
| 225 | 230 | ||
| 226 | 2012-12-28 Michael Albinus <michael.albinus@gmx.de> | 231 | 2012-12-28 Michael Albinus <michael.albinus@gmx.de> |
| 227 | 232 | ||
| @@ -231,8 +236,8 @@ | |||
| 231 | 2012-12-26 Dmitry Gutov <dgutov@yandex.ru> | 236 | 2012-12-26 Dmitry Gutov <dgutov@yandex.ru> |
| 232 | 237 | ||
| 233 | * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class", | 238 | * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class", |
| 234 | "module" and "def" to have indentation before them. Regression | 239 | "module" and "def" to have indentation before them. |
| 235 | from 109911 (see the new test). | 240 | Regression from 109911 (see the new test). |
| 236 | 241 | ||
| 237 | 2012-12-24 Dmitry Gutov <dgutov@yandex.ru> | 242 | 2012-12-24 Dmitry Gutov <dgutov@yandex.ru> |
| 238 | 243 | ||
| @@ -274,8 +279,8 @@ | |||
| 274 | 279 | ||
| 275 | 2012-12-07 Eli Zaretskii <eliz@gnu.org> | 280 | 2012-12-07 Eli Zaretskii <eliz@gnu.org> |
| 276 | 281 | ||
| 277 | * textmodes/texinfo.el (texinfo-enable-quote-envs): Add | 282 | * textmodes/texinfo.el (texinfo-enable-quote-envs): |
| 278 | "smallexample". | 283 | Add "smallexample". |
| 279 | 284 | ||
| 280 | 2012-12-07 Le Wang <l26wang@gmail.com> | 285 | 2012-12-07 Le Wang <l26wang@gmail.com> |
| 281 | 286 | ||
diff --git a/lisp/progmodes/make-mode.el b/lisp/progmodes/make-mode.el index 9939a54fe41..478eb592a22 100644 --- a/lisp/progmodes/make-mode.el +++ b/lisp/progmodes/make-mode.el | |||
| @@ -1307,6 +1307,12 @@ definition and conveniently use this command." | |||
| 1307 | (save-restriction | 1307 | (save-restriction |
| 1308 | (narrow-to-region beginning end) | 1308 | (narrow-to-region beginning end) |
| 1309 | (makefile-backslash-region (point-min) (point-max) t) | 1309 | (makefile-backslash-region (point-min) (point-max) t) |
| 1310 | ;; Backslashed newlines are marked as puncutations, so when | ||
| 1311 | ;; fill-delete-newlines turns the LF into SPC, we end up with spaces | ||
| 1312 | ;; which back-to-indentation (called via fill-newline -> | ||
| 1313 | ;; fill-indent-to-left-margin -> indent-line-to) thinks are real code | ||
| 1314 | ;; (bug#13179). | ||
| 1315 | (remove-text-properties (point-min) (point-max) '(syntax-table)) | ||
| 1310 | (let ((fill-paragraph-function nil) | 1316 | (let ((fill-paragraph-function nil) |
| 1311 | ;; Adjust fill-column to allow space for the backslash. | 1317 | ;; Adjust fill-column to allow space for the backslash. |
| 1312 | (fill-column (- fill-column 1))) | 1318 | (fill-column (- fill-column 1))) |