HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae9d1ae
)
(kmacro-push-ring): Let-bind history-delete-duplicates
author
Kim F. Storm
<storm@cua.dk>
Sun, 7 May 2006 20:49:16 +0000
(20:49 +0000)
committer
Kim F. Storm
<storm@cua.dk>
Sun, 7 May 2006 20:49:16 +0000
(20:49 +0000)
to nil around call to add-to-history.
lisp/kmacro.el
patch
|
blob
|
blame
|
history
diff --git
a/lisp/kmacro.el
b/lisp/kmacro.el
index
e54b65d
..
d3db76f
100644
(file)
--- a/
lisp/kmacro.el
+++ b/
lisp/kmacro.el
@@
-349,7
+349,8
@@
and `kmacro-counter-format'.")
(defun kmacro-push-ring (&optional elt)
"Push ELT or current macro onto `kmacro-ring'."
(when (setq elt (or elt (kmacro-ring-head)))
- (add-to-history 'kmacro-ring elt kmacro-ring-max t)))
+ (let ((history-delete-duplicates nil))
+ (add-to-history 'kmacro-ring elt kmacro-ring-max))))
(defun kmacro-split-ring-element (elt)