]> git.eshelyaron.com Git - emacs.git/commitdiff
Don't require advice.
authorRichard M. Stallman <rms@gnu.org>
Fri, 26 Feb 1999 03:49:42 +0000 (03:49 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 26 Feb 1999 03:49:42 +0000 (03:49 +0000)
(repeat-last-kill-command): Variable deleted.

lisp/repeat.el

index 3d3f464488d64b4a0653b2a6f349f5090b232e95..cc31a70d9379c5510f74b538d6a35764f53e6b8e 100644 (file)
@@ -147,14 +147,6 @@ member of that sequence.  If this variable is nil, no re-execution occurs."
 ;; 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.