emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/gpastel 927d344 07/15: Make interprogram-paste-function


From: Stefan Monnier
Subject: [elpa] externals/gpastel 927d344 07/15: Make interprogram-paste-function an empty lambda instead of nil
Date: Wed, 19 Dec 2018 12:31:37 -0500 (EST)

branch: externals/gpastel
commit 927d344331c227e207d20ad7572d9d5986c0e195
Author: Damien Cassou <address@hidden>
Commit: Damien Cassou <address@hidden>

    Make interprogram-paste-function an empty lambda instead of nil
    
    It seems that some packages require this variable to reference a
    function.
---
 gpastel.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gpastel.el b/gpastel.el
index 6fce636..0fde714 100644
--- a/gpastel.el
+++ b/gpastel.el
@@ -125,7 +125,7 @@ all text in the GPaste clipboard."
   (when (gpastel--start-gpaste-daemon)
     ;; No need for `interprogram-paste-function' because GPaste will
     ;; tell us as soon as text is added to clipboard:
-    (setq interprogram-paste-function nil)
+    (setq interprogram-paste-function (lambda ()))
     ;; No need to save the system clipboard before killing in
     ;; Emacs because Emacs already knows about its content:
     (setq save-interprogram-paste-before-kill nil)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]