diff options
| author | Stefan Monnier | 2015-09-24 08:54:39 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2015-09-24 08:54:39 -0400 |
| commit | 8f88db14946f46a95603dfaa2a425d64b01fbb53 (patch) | |
| tree | 88d3f5ad8b6dd0fed1eae4ade62fd60e2e42f58d | |
| parent | 8c909d75128b5bf92b090d34adbe07ed882ecd74 (diff) | |
| download | emacs-8f88db14946f46a95603dfaa2a425d64b01fbb53.tar.gz emacs-8f88db14946f46a95603dfaa2a425d64b01fbb53.zip | |
Fix recent bootstrap problems
* src/syntax.c (parse_sexp_propertize): Fix last fix.
* lisp/nxml/nxml-mode.el (nxml-comment-quote-nested): Fix paren typo.
* lisp/emacs-lisp/lisp-mode.el: Require cl-lib for cl-progv.
| -rw-r--r-- | lisp/emacs-lisp/lisp-mode.el | 2 | ||||
| -rw-r--r-- | lisp/nxml/nxml-mode.el | 4 | ||||
| -rw-r--r-- | src/syntax.c | 3 |
3 files changed, 6 insertions, 3 deletions
diff --git a/lisp/emacs-lisp/lisp-mode.el b/lisp/emacs-lisp/lisp-mode.el index f8b935eb90b..fec9467bbb7 100644 --- a/lisp/emacs-lisp/lisp-mode.el +++ b/lisp/emacs-lisp/lisp-mode.el | |||
| @@ -28,6 +28,8 @@ | |||
| 28 | 28 | ||
| 29 | ;;; Code: | 29 | ;;; Code: |
| 30 | 30 | ||
| 31 | (eval-when-compile (require 'cl-lib)) | ||
| 32 | |||
| 31 | (defvar font-lock-comment-face) | 33 | (defvar font-lock-comment-face) |
| 32 | (defvar font-lock-doc-face) | 34 | (defvar font-lock-doc-face) |
| 33 | (defvar font-lock-keywords-case-fold-search) | 35 | (defvar font-lock-keywords-case-fold-search) |
diff --git a/lisp/nxml/nxml-mode.el b/lisp/nxml/nxml-mode.el index 8b0dc9278c5..0e2fca349a5 100644 --- a/lisp/nxml/nxml-mode.el +++ b/lisp/nxml/nxml-mode.el | |||
| @@ -1351,9 +1351,9 @@ of the inserted start-tag or nil if none was inserted." | |||
| 1351 | start-tag-indent))))) | 1351 | start-tag-indent))))) |
| 1352 | inserted-start-tag-pos)) | 1352 | inserted-start-tag-pos)) |
| 1353 | 1353 | ||
| 1354 | (defun nxml-comment-quote-nested (cs ce unp) | 1354 | (defun nxml-comment-quote-nested (_cs _ce unp) |
| 1355 | "Quote nested comments in buffer. | 1355 | "Quote nested comments in buffer. |
| 1356 | See `comment-quote-nested-function' for more information.") | 1356 | See `comment-quote-nested-function' for more information." |
| 1357 | (goto-char (point-min)) | 1357 | (goto-char (point-min)) |
| 1358 | (save-match-data | 1358 | (save-match-data |
| 1359 | (while (re-search-forward "-[\\]*-" nil t) | 1359 | (while (re-search-forward "-[\\]*-" nil t) |
diff --git a/src/syntax.c b/src/syntax.c index 6b1865f667f..cacdf18c2a2 100644 --- a/src/syntax.c +++ b/src/syntax.c | |||
| @@ -499,7 +499,8 @@ parse_sexp_propertize (ptrdiff_t charpos) | |||
| 499 | gl_state.e_property = syntax_propertize__done; | 499 | gl_state.e_property = syntax_propertize__done; |
| 500 | gl_state.e_property_truncated = true; | 500 | gl_state.e_property_truncated = true; |
| 501 | } | 501 | } |
| 502 | else if (gl_state.e_property_truncated) | 502 | else if (gl_state.e_property_truncated |
| 503 | && gl_state.e_property < syntax_propertize__done) | ||
| 503 | { /* When moving backward, e_property might be set without resetting | 504 | { /* When moving backward, e_property might be set without resetting |
| 504 | e_property_truncated, so the e_property_truncated flag may | 505 | e_property_truncated, so the e_property_truncated flag may |
| 505 | occasionally be left raised spuriously. This should be rare. */ | 506 | occasionally be left raised spuriously. This should be rare. */ |