(vc-cvs-annotate-time): Use inhibit-read-only and inhibit-modification-hooks.
authorStefan Monnier <monnier@iro.umontreal.ca>
Sat, 15 Sep 2007 21:07:32 +0000 (21:07 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sat, 15 Sep 2007 21:07:32 +0000 (21:07 +0000)
lisp/ChangeLog
lisp/vc-cvs.el

index 7d43bbe..aec62a0 100644 (file)
@@ -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):
index f90f698..0a17388 100644 (file)
@@ -590,7 +590,8 @@ encoded as fractional days."
 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