changeset 22958:cd50dfa70bb2

Delete the undo-in-progress compatibility code.
author Richard M. Stallman <rms@gnu.org>
date Sat, 08 Aug 1998 22:22:56 +0000
parents dd92cb09f5d1
children 73a21b5f9bd8
files lisp/hilit-chg.el
diffstat 1 files changed, 1 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/hilit-chg.el	Sat Aug 08 22:20:17 1998 +0000
+++ b/lisp/hilit-chg.el	Sat Aug 08 22:22:56 1998 +0000
@@ -195,16 +195,6 @@
 
 ;;; Code:
 
-;; ========== Remove when undo-in-progress is set by emacs ========
-(unless (boundp 'undo-in-progress)
-  (message "advising undo...")
-  (eval-when-compile (require 'advice))
-  (defvar undo-in-progress nil) ;; only undo should change this!
-  (defadvice undo (around record-this-is-an-undo activate)
-    (let ((undo-in-progress t))
-      ad-do-it)))
-;; ================================================================
-
 (require 'wid-edit)
 
 ;; ====================== Customization =======================
@@ -1198,5 +1188,5 @@
 
 
 (provide 'hilit-chg)
+
 ;;; hilit-chg.el ends here
-