Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
org-copy-visible: Prevent Emacs storing primary-selection in kill-ring
* lisp/org.el (org-copy-visible): Make sure that the visible text is the first entry in `kill-ring' upon exiting `org-copy-visible'. This was previously not the case when `select-enable-primary' is non-nil. The fix only works in Emacs 29 after https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=0ab572d5c991dee4818d364a65e004d20f1f45a1 See https://debbugs.gnu.org/cgi/bugreport.cgi?bug=57147 Fixes https://orgmode.org/list/25331.25617.528381.574211@gargle.gargle.HOWL
- Loading branch information