Changeset 3892 for vendor/emacs-CVS_HEAD/lisp/font-lock.el
- Timestamp:
- 10/02/05 07:23:38 (3 years ago)
- Files:
-
- vendor/emacs-CVS_HEAD/lisp/font-lock.el (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
vendor/emacs-CVS_HEAD/lisp/font-lock.el
r3861 r3892 341 341 ;; Fontification variables: 342 342 343 ;;;###autoload 343 344 (defvar font-lock-keywords nil 344 345 "A list of the keywords to highlight. … … 1061 1062 (point-max)))) 1062 1063 (goto-char end) 1063 (setq end (line-beginning-position 2)) 1064 ;; Round up to a whole line. 1065 (unless (bolp) (setq end (line-beginning-position 2))) 1064 1066 ;; Now do the fontification. 1065 1067 (font-lock-unfontify-region beg end) … … 1073 1075 1074 1076 ;; The following must be rethought, since keywords can override fontification. 1075 ; ;; Now scan for keywords, but not if we are inside a comment now.1076 ; (or (and (not font-lock-keywords-only)1077 ; (let ((state (parse-partial-sexp beg end nil nil1078 ; font-lock-cache-state)))1079 ; (or (nth 4 state) (nth 7 state))))1080 ; (font-lock-fontify-keywords-region beg end))1077 ;; ;; Now scan for keywords, but not if we are inside a comment now. 1078 ;; (or (and (not font-lock-keywords-only) 1079 ;; (let ((state (parse-partial-sexp beg end nil nil 1080 ;; font-lock-cache-state))) 1081 ;; (or (nth 4 state) (nth 7 state)))) 1082 ;; (font-lock-fontify-keywords-region beg end)) 1081 1083 1082 1084 (defvar font-lock-extra-managed-props nil
