[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/xclip 5b54645cab: * xclip.el (xclip-mode): Declare befo
From: |
Stefan Monnier |
Subject: |
[elpa] externals/xclip 5b54645cab: * xclip.el (xclip-mode): Declare before first use |
Date: |
Mon, 17 Jan 2022 23:03:25 -0500 (EST) |
branch: externals/xclip
commit 5b54645cab438e133e27b4690c57066f8271a992
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Commit: Stefan Monnier <monnier@iro.umontreal.ca>
* xclip.el (xclip-mode): Declare before first use
---
xclip.el | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/xclip.el b/xclip.el
index 71efda328c..4fe07d3c80 100644
--- a/xclip.el
+++ b/xclip.el
@@ -1,11 +1,11 @@
;;; xclip.el --- Copy&paste GUI clipboard from text terminal -*-
lexical-binding:t -*-
-;; Copyright (C) 2007-2020 Free Software Foundation, Inc.
+;; Copyright (C) 2007-2022 Free Software Foundation, Inc.
;; Author: Leo Liu <sdl.web@gmail.com>
;; Keywords: convenience, tools
;; Created: 2007-12-30
-;; Version: 1.10
+;; Version: 1.11
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
@@ -101,10 +101,11 @@ and `getclip' under Cygwin, or `emacs' to use Emacs's GUI
code for that."
;;;; Core functions.
+(defvar xclip-mode)
+
(defun xclip-set-selection (type data)
"TYPE is a symbol: primary, secondary and clipboard.
-
-See also `x-set-selection'."
+TYPE and DATA are the same as for `gui-set-selection'."
(if (eq xclip-method 'emacs)
(with-selected-frame (xclip--hidden-frame)
(let ((xclip-mode nil)) ;;Just out of paranoia.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] externals/xclip 5b54645cab: * xclip.el (xclip-mode): Declare before first use,
Stefan Monnier <=