changeset 84583:52ca2a6a41bf

(vc-cvs-annotate-time): Use inhibit-read-only and inhibit-modification-hooks.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Sat, 15 Sep 2007 21:07:32 +0000
parents b5d78f18d087
children 1c7fc1a1f0b9
files lisp/ChangeLog lisp/vc-cvs.el
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Sat Sep 15 21:05:53 2007 +0000
+++ b/lisp/ChangeLog	Sat Sep 15 21:07:32 2007 +0000
@@ -1,5 +1,8 @@
 2007-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
 
+	* vc-cvs.el (vc-cvs-annotate-time): Use inhibit-read-only and
+	inhibit-modification-hooks.
+
 	* calendar/cal-bahai.el (mark-bahai-diary-entries): Fix up typo.
 	(calendar-bahai-print-date, calendar-bahai-goto-date)
 	(diary-bahai-list-entries, diary-bahai-insert-entry):
--- a/lisp/vc-cvs.el	Sat Sep 15 21:05:53 2007 +0000
+++ b/lisp/vc-cvs.el	Sat Sep 15 21:07:32 2007 +0000
@@ -590,7 +590,8 @@
 systime, or nil if there is none."
   (let* ((bol (point))
          (cache (get-text-property bol 'vc-cvs-annotate-time))
-         buffer-read-only)
+         (inhibit-read-only t)
+         (inhibit-modification-hooks t))
     (cond
      (cache)
      ((looking-at