diff options
| author | Simon Marshall | 1994-12-05 13:38:11 +0000 |
|---|---|---|
| committer | Simon Marshall | 1994-12-05 13:38:11 +0000 |
| commit | 9e116f87adf9862a18a0ea0faee36f2b32ca9fee (patch) | |
| tree | 7df7f9b13f0586c979e34740f03721c937984634 | |
| parent | ef946998620530419a5629bbda3549b36d586446 (diff) | |
| download | emacs-9e116f87adf9862a18a0ea0faee36f2b32ca9fee.tar.gz emacs-9e116f87adf9862a18a0ea0faee36f2b32ca9fee.zip | |
Comment out Oct 18 change to font-lock-after-change-function
| -rw-r--r-- | lisp/font-lock.el | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/lisp/font-lock.el b/lisp/font-lock.el index 5782fb0522f..5c23041c3a6 100644 --- a/lisp/font-lock.el +++ b/lisp/font-lock.el | |||
| @@ -474,12 +474,14 @@ the face is also set; its value is the face name." | |||
| 474 | (if font-lock-no-comments | 474 | (if font-lock-no-comments |
| 475 | (remove-text-properties beg end '(face nil)) | 475 | (remove-text-properties beg end '(face nil)) |
| 476 | (font-lock-fontify-region beg end)) | 476 | (font-lock-fontify-region beg end)) |
| 477 | ;; Now scan for keywords, but not if we are inside a comment now. | 477 | (font-lock-hack-keywords beg end)))) |
| 478 | (or (and (not font-lock-no-comments) | 478 | |
| 479 | (let ((state (parse-partial-sexp beg end nil nil | 479 | ; ;; Now scan for keywords, but not if we are inside a comment now. |
| 480 | font-lock-cache-state))) | 480 | ; (or (and (not font-lock-no-comments) |
| 481 | (or (nth 4 state) (nth 7 state)))) | 481 | ; (let ((state (parse-partial-sexp beg end nil nil |
| 482 | (font-lock-hack-keywords beg end))))) | 482 | ; font-lock-cache-state))) |
| 483 | ; (or (nth 4 state) (nth 7 state)))) | ||
| 484 | ; (font-lock-hack-keywords beg end)) | ||
| 483 | 485 | ||
| 484 | ;;; Fontifying arbitrary patterns | 486 | ;;; Fontifying arbitrary patterns |
| 485 | 487 | ||
| @@ -721,7 +723,7 @@ This does fairly subdued highlighting.") | |||
| 721 | '("\\\\\\\\\\[\\([^]\\\n]+\\)]" 1 font-lock-reference-face t) | 723 | '("\\\\\\\\\\[\\([^]\\\n]+\\)]" 1 font-lock-reference-face t) |
| 722 | ;; | 724 | ;; |
| 723 | ;; Words inside `' which tend to be function names | 725 | ;; Words inside `' which tend to be function names |
| 724 | (let ((word-char "[-+a-zA-Z0-9_.*]")) | 726 | (let ((word-char "[-+a-zA-Z0-9_:*]")) |
| 725 | (list (concat "`\\(" word-char word-char "+\\)'") | 727 | (list (concat "`\\(" word-char word-char "+\\)'") |
| 726 | 1 'font-lock-reference-face t)) | 728 | 1 'font-lock-reference-face t)) |
| 727 | ;; | 729 | ;; |