(vc-backend-diff): get rid of the autoloaded advice.
authorStefan Monnier <monnier@iro.umontreal.ca>
Mon, 11 Oct 1999 09:53:03 +0000 (09:53 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Mon, 11 Oct 1999 09:53:03 +0000 (09:53 +0000)
lisp/ChangeLog
lisp/diff-mode.el

index f9e677a..bd0d984 100644 (file)
@@ -1,3 +1,7 @@
+1999-10-11  Stefan Monnier  <monnier@cs.yale.edu>
+
+       * diff-mode.el (vc-backend-diff): get rid of the autoloaded advice.
+
 1999-10-09  Stefan Monnier  <monnier@cs.yale.edu>
 
        * Makefile (setwins): abstract out the command to find subdirectories
index 65cc09c..7262b6b 100644 (file)
@@ -754,19 +754,6 @@ See `after-change-functions' for the meaning of BEG, END and LEN."
        (diff-fixup-modifs (point) (cdr diff-unhandled-changes))))
     (setq diff-unhandled-changes nil)))
 
-;;;###autoload
-(defadvice vc-backend-diff (around diff-mode-vc activate)
-  ;; BEWARE!! when this is autoloaded, CL might not be available
-  (condition-case ()
-      (with-current-buffer "*vc-diff*" (setq buffer-read-only nil))
-    (error nil))
-  ad-do-it
-  (condition-case ()
-      (with-current-buffer "*vc-diff*"
-       (if (memq major-mode '(fundamental-mode diff-mode)) (diff-mode)))
-    (error nil)))
-
-
 ;;;; 
 ;;;; The main function
 ;;;;