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-lock.el


From: Lute Kamstra
Subject: [Emacs-diffs] Changes to emacs/lisp/font-lock.el
Date: Mon, 25 Apr 2005 07:10:22 -0400

Index: emacs/lisp/font-lock.el
diff -c emacs/lisp/font-lock.el:1.240 emacs/lisp/font-lock.el:1.241
*** emacs/lisp/font-lock.el:1.240       Sun Apr 24 21:31:37 2005
--- emacs/lisp/font-lock.el     Mon Apr 25 11:10:22 2005
***************
*** 496,502 ****
    "Function to determine which face to use when fontifying syntactically.
  The function is called with a single parameter (the state as returned by
  `parse-partial-sexp' at the beginning of the region to highlight) and
! should return a face.")
  
  (defvar font-lock-syntactic-keywords nil
    "A list of the syntactic keywords to highlight.
--- 496,502 ----
    "Function to determine which face to use when fontifying syntactically.
  The function is called with a single parameter (the state as returned by
  `parse-partial-sexp' at the beginning of the region to highlight) and
! should return a face.  This is normally set via `font-lock-defaults'.")
  
  (defvar font-lock-syntactic-keywords nil
    "A list of the syntactic keywords to highlight.
***************
*** 646,651 ****
--- 646,652 ----
  ;;;###autoload
  (defun font-lock-add-keywords (mode keywords &optional append)
    "Add highlighting KEYWORDS for MODE.
+ 
  MODE should be a symbol, the major mode command name, such as `c-mode'
  or nil.  If nil, highlighting keywords are added for the current buffer.
  KEYWORDS should be a list; see the variable `font-lock-keywords'.




reply via email to

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