emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/lisp/hi-lock.el


From: Stefan Monnier
Subject: [Emacs-diffs] Changes to emacs/lisp/hi-lock.el
Date: Thu, 24 Mar 2005 17:12:00 -0500

Index: emacs/lisp/hi-lock.el
diff -c emacs/lisp/hi-lock.el:1.20 emacs/lisp/hi-lock.el:1.21
*** emacs/lisp/hi-lock.el:1.20  Thu Feb  3 06:49:18 2005
--- emacs/lisp/hi-lock.el       Thu Mar 24 22:12:00 2005
***************
*** 1,6 ****
  ;;; hi-lock.el --- minor mode for interactive automatic highlighting
  
! ;; Copyright (C) 2000, 2001 Free Software Foundation, Inc.
  
  ;; Author: David M. Koppelman, address@hidden
  ;; Keywords: faces, minor-mode, matching, display
--- 1,6 ----
  ;;; hi-lock.el --- minor mode for interactive automatic highlighting
  
! ;; Copyright (C) 2000, 2001, 2005  Free Software Foundation, Inc.
  
  ;; Author: David M. Koppelman, address@hidden
  ;; Keywords: faces, minor-mode, matching, display
***************
*** 292,298 ****
              (> (prefix-numeric-value arg) 0)))
      ;; Turned on.
      (when (and (not hi-lock-mode-prev) hi-lock-mode)
!       (add-hook 'find-file-hooks 'hi-lock-find-file-hook)
        (add-hook 'font-lock-mode-hook 'hi-lock-font-lock-hook)
        (when (eq nil font-lock-defaults)
        (setq font-lock-defaults '(nil)))
--- 292,298 ----
              (> (prefix-numeric-value arg) 0)))
      ;; Turned on.
      (when (and (not hi-lock-mode-prev) hi-lock-mode)
!       (add-hook 'find-file-hook 'hi-lock-find-file-hook)
        (add-hook 'font-lock-mode-hook 'hi-lock-font-lock-hook)
        (when (eq nil font-lock-defaults)
        (setq font-lock-defaults '(nil)))
***************
*** 313,319 ****
                    hi-lock-file-patterns nil)
              (when font-lock-mode (hi-lock-refontify)))))
        (define-key-after menu-bar-edit-menu [hi-lock] nil)
!       (remove-hook 'find-file-hooks 'hi-lock-find-file-hook)
        (remove-hook 'font-lock-mode-hook 'hi-lock-font-lock-hook))))
  
  
--- 313,319 ----
                    hi-lock-file-patterns nil)
              (when font-lock-mode (hi-lock-refontify)))))
        (define-key-after menu-bar-edit-menu [hi-lock] nil)
!       (remove-hook 'find-file-hook 'hi-lock-find-file-hook)
        (remove-hook 'font-lock-mode-hook 'hi-lock-font-lock-hook))))
  
  
***************
*** 568,572 ****
  
  (provide 'hi-lock)
  
! ;;; arch-tag: d2e8fd07-4cc9-4c6f-a200-1e729bc54066
  ;;; hi-lock.el ends here
--- 568,572 ----
  
  (provide 'hi-lock)
  
! ;; arch-tag: d2e8fd07-4cc9-4c6f-a200-1e729bc54066
  ;;; hi-lock.el ends here




reply via email to

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