[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: use and doc of function symbol properties [was: bug#11381: 23.3; ise
RE: use and doc of function symbol properties [was: bug#11381: 23.3; isearch-search-and-update issue?]
Sat, 2 Jun 2012 10:52:27 -0700
> But it would no doubt be better to instead rotate through
> the list until we reach a non-identical entry (if there is one).
((eq type 'yank)
;; Before a yank command. Make sure we do not yank
;; the same region that we are going to delete.
;; That would make yank a no-op.
(let ((tail kill-ring))
(while (and tail (string= (buffer-substring-no-properties
(setq tail (cdr tail))))