[OS X Emacs] Aquamacs 1.8 intermittent problems with command-C
David Reitter
david.reitter at gmail.com
Mon Jul 20 13:04:56 EDT 2009
Tom,
On Jul 20, 2009, at 2:35 PM, Tom Van Vleck wrote:
> Ever since Aquamacs 1.8 came out,
> I have noticed intermittent problems with
> highlighting text and doing Command-C to copy it.
seems like this is related to a change in version 1.8.
Please try the code below in your Preferences.el / .emacs and let me
know if that fixes things for you.
Thanks for reporting this
- David
--
http://aquamacs.org -- Aquamacs: Emacs on Mac OS X
http://aquamacs.org/donate -- Could we help you? Return the favor and
support the Aquamacs Project!
(when (< aquamacs-version-id 183)
(defun clipboard-kill-ring-save (beg end)
"Copy region to kill ring, and save in the X clipboard.
Do not copy region to kill ring if that would
result in a duplicate entry."
(interactive "r")
(when (or (not transient-mark-mode) mark-active)
(let ((x-select-enable-clipboard t))
(kill-ring-save beg end)
(when (equal (car kill-ring) (cadr kill-ring))
(setq kill-ring (cdr kill-ring))
(if (fboundp 'menu-bar-update-yank-menu)
(menu-bar-update-yank-menu (car kill-ring) nil)))))))
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2193 bytes
Desc: not available
URL: <http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20090720/7427aa21/attachment.p7s>
More information about the MacOSX-Emacs
mailing list