aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
authorJuri Linkov2010-06-04 21:38:11 +0300
committerJuri Linkov2010-06-04 21:38:11 +0300
commit0665f66133e1991559c58ab57112becf1c9fb70e (patch)
treeae0b8735b2ad69b20acf09e325ec230ee1d3f08b /src/buffer.c
parent087fc47ace7797d2ef36ff167f7befd5f4ba01da (diff)
downloademacs-0665f66133e1991559c58ab57112becf1c9fb70e.tar.gz
emacs-0665f66133e1991559c58ab57112becf1c9fb70e.zip
* lisp/simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
Instead of setting `replace' to t and replacing the same string with itself, don't do certain actions when kill-do-not-save-duplicates is non-nil and string is equal to car of kill-ring: don't call menu-bar-update-yank-menu, don't push interprogram-paste strings to kill-ring, and don't push the input argument `string' to kill-ring. http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
Diffstat (limited to 'src/buffer.c')
0 files changed, 0 insertions, 0 deletions