mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-04 02:51:31 -08:00
Delete the undo-in-progress compatibility code.
This commit is contained in:
parent
e287d32889
commit
fdbd749a3f
1 changed files with 1 additions and 11 deletions
|
|
@ -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 @@ from `global-highlight-changes' when turning on global Highlight Changes mode.
|
|||
|
||||
|
||||
(provide 'hilit-chg)
|
||||
;;; hilit-chg.el ends here
|
||||
|
||||
;;; hilit-chg.el ends here
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue