aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Aspinall2002-08-30 17:54:07 +0000
committerDavid Aspinall2002-08-30 17:54:07 +0000
commit73d73f03ae44322a613127444b7073843bab2686 (patch)
treeed871a8c7b47263b2d8609067a94459acab73242
parent79aa4978cc7395fa5e134e48e627e1b11e96648f (diff)
GNU Emacs: avoid using own-clipboard
-rw-r--r--generic/pg-user.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/generic/pg-user.el b/generic/pg-user.el
index 37deafea..2e26996e 100644
--- a/generic/pg-user.el
+++ b/generic/pg-user.el
@@ -705,7 +705,8 @@ last use time, to discourage saving these into the users database."
(goto-char (span-end span))
(skip-chars-backward " \t\n")
(point)))
- (own-clipboard (car kill-ring)))
+ (if (fboundp 'own-clipboard) ;; XEmacs function
+ (own-clipboard (car kill-ring))))
;; 3.3: these functions are experimental, in that they haven't
;; been rigorously tested. They don't work well in FSF Emacs.