emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/font-core.el


From: Stefan Monnier
Subject: [Emacs-diffs] Changes to emacs/lisp/font-core.el
Date: Fri, 04 Jul 2003 14:29:13 -0400

Index: emacs/lisp/font-core.el
diff -c emacs/lisp/font-core.el:1.20 emacs/lisp/font-core.el:1.21
*** emacs/lisp/font-core.el:1.20        Mon Apr 14 19:07:49 2003
--- emacs/lisp/font-core.el     Fri Jul  4 14:29:12 2003
***************
*** 1,6 ****
  ;;; font-core.el --- Core interface to font-lock
  
! ;; Copyright (C) 1992, 93, 94, 95, 96, 97, 98, 1999, 2000, 2001, 2002
  ;;  Free Software Foundation, Inc.
  
  ;; Maintainer: FSF
--- 1,6 ----
  ;;; font-core.el --- Core interface to font-lock
  
! ;; Copyright (C) 1992, 93, 94, 95, 96, 97, 98, 1999, 2000, 2001, 02, 2003
  ;;  Free Software Foundation, Inc.
  
  ;; Maintainer: FSF
***************
*** 77,123 ****
  ;; keywords.  Really, this shouldn't need to be in font-core.el, but
  ;; we can't avoid it.  In the future, this stuff will hopefully be
  ;; moved to cc-mode itself.
! (defvar font-lock-defaults-alist
!   (let (;; We use `beginning-of-defun', rather than nil, for SYNTAX-BEGIN.
!       ;; Thus the calculation of the cache is usually faster but not
!       ;; infallible, so we risk mis-fontification.  sm.
!       (c-mode-defaults
!        '((c-font-lock-keywords c-font-lock-keywords-1
!           c-font-lock-keywords-2 c-font-lock-keywords-3)
!          nil nil ((?_ . "w")) beginning-of-defun
!          (font-lock-syntactic-face-function
!           . c-font-lock-syntactic-face-function)
!          (font-lock-mark-block-function . mark-defun)))
!       (c++-mode-defaults
!        '((c++-font-lock-keywords c++-font-lock-keywords-1
!           c++-font-lock-keywords-2 c++-font-lock-keywords-3)
!          nil nil ((?_ . "w")) beginning-of-defun
!          (font-lock-syntactic-face-function
!           . c-font-lock-syntactic-face-function)
!          (font-lock-mark-block-function . mark-defun)))
!       (objc-mode-defaults
!        '((objc-font-lock-keywords objc-font-lock-keywords-1
!           objc-font-lock-keywords-2 objc-font-lock-keywords-3)
!          nil nil ((?_ . "w") (?$ . "w")) nil
!          (font-lock-syntactic-face-function
!           . c-font-lock-syntactic-face-function)
!          (font-lock-mark-block-function . mark-defun)))
!       (java-mode-defaults
!        '((java-font-lock-keywords java-font-lock-keywords-1
!           java-font-lock-keywords-2 java-font-lock-keywords-3)
!          nil nil ((?_ . "w") (?$ . "w")) nil
!          (font-lock-syntactic-face-function
!           . java-font-lock-syntactic-face-function)
!          (font-lock-mark-block-function . mark-defun))))
!     (list
!      (cons 'c-mode                    c-mode-defaults)
!      (cons 'c++-mode                  c++-mode-defaults)
!      (cons 'objc-mode                 objc-mode-defaults)
!      (cons 'java-mode                 java-mode-defaults)))
    "Alist of fall-back Font Lock defaults for major modes.
- 
- This variable should not be used any more.
- Set the buffer-local `font-lock-keywords' in the major mode instead.
  
  Each item should be a list of the form:
  
--- 77,84 ----
  ;; keywords.  Really, this shouldn't need to be in font-core.el, but
  ;; we can't avoid it.  In the future, this stuff will hopefully be
  ;; moved to cc-mode itself.
! (defvar font-lock-defaults-alist nil
    "Alist of fall-back Font Lock defaults for major modes.
  
  Each item should be a list of the form:
  




reply via email to

[Prev in Thread] Current Thread [Next in Thread]