[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/font-core.el
From: |
Andreas Schwab |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/font-core.el |
Date: |
Sat, 31 Aug 2002 13:22:30 -0400 |
Index: emacs/lisp/font-core.el
diff -c emacs/lisp/font-core.el:1.14 emacs/lisp/font-core.el:1.15
*** emacs/lisp/font-core.el:1.14 Fri Aug 30 07:00:46 2002
--- emacs/lisp/font-core.el Sat Aug 31 13:22:29 2002
***************
*** 218,228 ****
;; Get rid of fontification for the old major mode.
;; We do this when changing major modes.
(defun font-lock-change-mode ()
! (let ((inhibit-read-only t))
(save-restriction
(widen)
(remove-list-of-text-properties
! (point-min) (point-max) '(font-lock-face))))
(when font-lock-defaults
(font-lock-unfontify-buffer)))
--- 218,237 ----
;; Get rid of fontification for the old major mode.
;; We do this when changing major modes.
(defun font-lock-change-mode ()
! (let ((inhibit-read-only t)
! (inhibit-point-motion-hooks t)
! (inhibit-modification-hooks t)
! (deactivate-mark nil)
! (buffer-file-name nil)
! (buffer-file-truename nil)
! (buffer-undo-list t)
! (modified (buffer-modified-p)))
(save-restriction
(widen)
(remove-list-of-text-properties
! (point-min) (point-max) '(font-lock-face)))
! (unless modified
! (restore-buffer-modified-p nil)))
(when font-lock-defaults
(font-lock-unfontify-buffer)))
- [Emacs-diffs] Changes to emacs/lisp/font-core.el, John Paul Wallington, 2002/08/09
- [Emacs-diffs] Changes to emacs/lisp/font-core.el, Stefan Monnier, 2002/08/14
- [Emacs-diffs] Changes to emacs/lisp/font-core.el, Richard M. Stallman, 2002/08/15
- [Emacs-diffs] Changes to emacs/lisp/font-core.el, Richard M. Stallman, 2002/08/18
- [Emacs-diffs] Changes to emacs/lisp/font-core.el, Richard M. Stallman, 2002/08/20
- [Emacs-diffs] Changes to emacs/lisp/font-core.el, Juanma Barranquero, 2002/08/30
- [Emacs-diffs] Changes to emacs/lisp/font-core.el,
Andreas Schwab <=