comparison lisp/font-lock.el @ 776:79940b592197

[xemacs-hg @ 2002-03-15 07:43:14 by ben] .cvsignore: ignore .tmp files that are getting auto-created by VC. Makefile.in.in: Use -no-packages to avoid problems with package files shadowing core files (e.g. unicode.el in mule-ucs). alloc.c, emacs.c, lisp.h: add new -no-packages. make sure list of args for sorting is actually correct. clean up arg parsing code. xemacs.mak: Use -no-packages to avoid problems with package files shadowing core files (e.g. unicode.el in mule-ucs). Makefile: Use -no-packages to avoid problems with package files shadowing core files (e.g. unicode.el in mule-ucs). mule\chinese.el, mule\japan-util.el: fix warnings. behavior-defs.el: fix errors with require. bytecomp-runtime.el: add new funs {when,and}-{f}boundp, clean up docs. cus-edit.el: pretty-print values. dump-paths.el, find-paths.el, startup.el, setup-paths.el: fix problems/inconsistencies parsing options. support new -no-packages option. merge code duplication in dump-paths and startup. lisp-mode.el: indent macrolet and labels correctly. update comments about lisp-indent-function. flet already handled in cl. apropos.el, auto-save.el, buff-menu.el, cl-extra.el, dragdrop.el, faces.el, files.el, fill.el, font-lock.el, font.el, gtk-faces.el, gui.el, help.el, hyper-apropos.el, info.el, isearch-mode.el, keymap.el, lisp-mnt.el, mouse.el, package-admin.el, package-get.el, printer.el, process.el, resize-minibuffer.el, simple.el, toolbar-items.el, wid-edit.el, win32-native.el: fix warnings. very-early-lisp.el: update docs. mule\chinese.el, mule\japan-util.el: fix warnings. mule\chinese.el, mule\japan-util.el: fix warnings. behavior-defs.el: fix errors with require. bytecomp-runtime.el: add new funs {when,and}-{f}boundp, clean up docs. cus-edit.el: pretty-print values. dump-paths.el, find-paths.el, startup.el, setup-paths.el: fix problems/inconsistencies parsing options. support new -no-packages option. merge code duplication in dump-paths and startup. lisp-mode.el: indent macrolet and labels correctly. update comments about lisp-indent-function. flet already handled in cl. apropos.el, auto-save.el, buff-menu.el, cl-extra.el, dragdrop.el, faces.el, files.el, fill.el, font-lock.el, font.el, gtk-faces.el, gui.el, help.el, hyper-apropos.el, info.el, isearch-mode.el, keymap.el, lisp-mnt.el, mouse.el, package-admin.el, package-get.el, printer.el, process.el, resize-minibuffer.el, simple.el, toolbar-items.el, wid-edit.el, win32-native.el: fix warnings. very-early-lisp.el: update docs. mule\chinese.el, mule\japan-util.el: fix warnings. Makefile.in.in: Use -no-packages to avoid problems with package files shadowing core files (e.g. unicode.el in mule-ucs). Makefile.in.in: Use -no-packages to avoid problems with package files shadowing core files (e.g. unicode.el in mule-ucs).
author ben
date Fri, 15 Mar 2002 07:43:43 +0000
parents 943eaba38521
children e38acbeb1cae
comparison
equal deleted inserted replaced
775:7d972c3de90a 776:79940b592197
1665 ;; Turn off other related packages if they're on. I prefer a hook. --sm. 1665 ;; Turn off other related packages if they're on. I prefer a hook. --sm.
1666 ;; These explicit calls are easier to understand 1666 ;; These explicit calls are easier to understand
1667 ;; because people know what they will do. 1667 ;; because people know what they will do.
1668 ;; A hook is a mystery because it might do anything whatever. --rms. 1668 ;; A hook is a mystery because it might do anything whatever. --rms.
1669 (defun font-lock-thing-lock-cleanup () 1669 (defun font-lock-thing-lock-cleanup ()
1670 (cond ((and (boundp 'fast-lock-mode) fast-lock-mode) 1670 (cond ((and-boundp 'fast-lock-mode fast-lock-mode)
1671 (fast-lock-mode -1)) 1671 (declare-fboundp (fast-lock-mode -1)))
1672 ((and (boundp 'lazy-lock-mode) lazy-lock-mode) 1672 ((and-boundp 'lazy-lock-mode lazy-lock-mode)
1673 (lazy-lock-mode -1)) 1673 (declare-fboundp (lazy-lock-mode -1)))
1674 ((and (boundp 'lazy-shot-mode) lazy-shot-mode) 1674 ((and-boundp 'lazy-shot-mode lazy-shot-mode)
1675 (lazy-shot-mode -1)))) 1675 (declare-fboundp (lazy-shot-mode -1)))))
1676 1676
1677 ; Do something special for these packages after fontifying. I prefer a hook. 1677 ; Do something special for these packages after fontifying. I prefer a hook.
1678 (defun font-lock-after-fontify-buffer () 1678 (defun font-lock-after-fontify-buffer ()
1679 (cond ((and (boundp 'fast-lock-mode) fast-lock-mode) 1679 (cond ((and-boundp 'fast-lock-mode fast-lock-mode)
1680 (declare-fboundp (fast-lock-after-fontify-buffer))) 1680 (declare-fboundp (fast-lock-after-fontify-buffer)))
1681 ((and (boundp 'lazy-lock-mode) lazy-lock-mode) 1681 ((and-boundp 'lazy-lock-mode lazy-lock-mode)
1682 (declare-fboundp (lazy-lock-after-fontify-buffer))))) 1682 (declare-fboundp (lazy-lock-after-fontify-buffer)))))
1683 1683
1684 1684
1685 ;; Various functions. 1685 ;; Various functions.
1686 1686