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 [emacs-unicode-2]


From: Miles Bader
Subject: [Emacs-diffs] Changes to emacs/lisp/font-lock.el [emacs-unicode-2]
Date: Fri, 23 Jul 2004 00:56:51 -0400

Index: emacs/lisp/font-lock.el
diff -c emacs/lisp/font-lock.el:1.211.2.4 emacs/lisp/font-lock.el:1.211.2.5
*** emacs/lisp/font-lock.el:1.211.2.4   Tue Jun 29 16:45:01 2004
--- emacs/lisp/font-lock.el     Fri Jul 23 04:30:38 2004
***************
*** 693,699 ****
           ;; If the keywords were compiled before, compile them again.
           (if was-compiled
               (set (make-local-variable 'font-lock-keywords)
!                   (font-lock-compile-keywords keywords t)))))))
  
  (defun font-lock-update-removed-keyword-alist (mode keywords append)
    ;; Update `font-lock-removed-keywords-alist' when adding new
--- 693,699 ----
           ;; If the keywords were compiled before, compile them again.
           (if was-compiled
               (set (make-local-variable 'font-lock-keywords)
!                   (font-lock-compile-keywords font-lock-keywords t)))))))
  
  (defun font-lock-update-removed-keyword-alist (mode keywords append)
    ;; Update `font-lock-removed-keywords-alist' when adding new
***************
*** 801,807 ****
           ;; If the keywords were compiled before, compile them again.
           (if was-compiled
               (set (make-local-variable 'font-lock-keywords)
!                   (font-lock-compile-keywords keywords t)))))))
  
  ;;; Font Lock Support mode.
  
--- 801,807 ----
           ;; If the keywords were compiled before, compile them again.
           (if was-compiled
               (set (make-local-variable 'font-lock-keywords)
!                   (font-lock-compile-keywords font-lock-keywords t)))))))
  
  ;;; Font Lock Support mode.
  
***************
*** 1945,1956 ****
                  '("when" "unless" "case" "ecase" "typecase" "etypecase"
                    "ccase" "ctypecase" "handler-case" "handler-bind"
                    "restart-bind" "restart-case" "in-package"
!                   "cerror" "break" "ignore-errors"
                    "loop" "do" "do*" "dotimes" "dolist" "the" "locally"
                    "proclaim" "declaim" "declare" "symbol-macrolet"
                    "lexical-let" "lexical-let*" "flet" "labels" "compiler-let"
!                   "destructuring-bind" "macrolet" "tagbody" "block"
!                   "multiple-value-bind"
                    "return" "return-from"
                    "with-accessors" "with-compilation-unit"
                    "with-condition-restarts" "with-hash-table-iterator"
--- 1945,1956 ----
                  '("when" "unless" "case" "ecase" "typecase" "etypecase"
                    "ccase" "ctypecase" "handler-case" "handler-bind"
                    "restart-bind" "restart-case" "in-package"
!                   "break" "ignore-errors"
                    "loop" "do" "do*" "dotimes" "dolist" "the" "locally"
                    "proclaim" "declaim" "declare" "symbol-macrolet"
                    "lexical-let" "lexical-let*" "flet" "labels" "compiler-let"
!                   "destructuring-bind" "macrolet" "tagbody" "block" "go"
!                   "multiple-value-bind" "multiple-value-prog1"
                    "return" "return-from"
                    "with-accessors" "with-compilation-unit"
                    "with-condition-restarts" "with-hash-table-iterator"
***************
*** 1968,1974 ****
            '(2 font-lock-constant-face nil t))
        ;;
        ;; Erroneous structures.
!       '("(\\(abort\\|assert\\|error\\|signal\\)\\>" 1 font-lock-warning-face)
        ;;
        ;; Words inside \\[] tend to be for `substitute-command-keys'.
        '("\\\\\\\\\\[\\(\\sw+\\)]" 1 font-lock-constant-face prepend)
--- 1968,1974 ----
            '(2 font-lock-constant-face nil t))
        ;;
        ;; Erroneous structures.
!       
'("(\\(abort\\|assert\\|warn\\|check-type\\|cerror\\|error\\|signal\\)\\>" 1 
font-lock-warning-face)
        ;;
        ;; Words inside \\[] tend to be for `substitute-command-keys'.
        '("\\\\\\\\\\[\\(\\sw+\\)]" 1 font-lock-constant-face prepend)




reply via email to

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