Mercurial > emacs
diff lisp/repeat.el @ 24401:d2de3907a920
Don't require advice.
(repeat-last-kill-command): Variable deleted.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Fri, 26 Feb 1999 03:49:42 +0000 |
parents | 242836a572c4 |
children | 6f36bb11c7a5 |
line wrap: on
line diff
--- a/lisp/repeat.el Fri Feb 26 03:48:07 1999 +0000 +++ b/lisp/repeat.el Fri Feb 26 03:49:42 1999 +0000 @@ -147,14 +147,6 @@ ;; true-last-command by putting something in post-command-hook, but that ;; entails a performance hit; the approach taken below avoids that. -;; First cope with (kill-region). It's straightforward to advise it to save -;; the true value of this-command before clobbering it. - -(require 'advice) - -(defvar repeat-last-kill-command nil - "True value of `this-command' before (`kill-region') clobbered it.") - ;; Coping with strings of self-insert commands gets hairy when they interact ;; with auto-filling. Most problems are eliminated by remembering what we're ;; self-inserting, so we only need to get it from the undo information once.