[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/hyperbole 284a067 06/13: Merge pull request #7 from mat
From: |
Stefan Monnier |
Subject: |
[elpa] externals/hyperbole 284a067 06/13: Merge pull request #7 from matsl/cherry-pick-elpa-changes |
Date: |
Sun, 12 May 2019 11:11:47 -0400 (EDT) |
branch: externals/hyperbole
commit 284a067822a230aca5ac3826274f16c590ff1a52
Merge: da93767 d5de7e3
Author: Robert Weiner <address@hidden>
Commit: GitHub <address@hidden>
Merge pull request #7 from matsl/cherry-pick-elpa-changes
Handle if hui-window is loaded before hui-mouse
---
hmouse-drv.el | 21 +++++----------------
hui-mouse.el | 4 ++--
hui-window.el | 9 +++++----
3 files changed, 12 insertions(+), 22 deletions(-)
diff --git a/hmouse-drv.el b/hmouse-drv.el
index 968bf8f..eb21235 100644
--- a/hmouse-drv.el
+++ b/hmouse-drv.el
@@ -4,7 +4,7 @@
;;
;; Orig-Date: 04-Feb-90
;;
-;; Copyright (C) 1989-2017 Free Software Foundation, Inc.
+;; Copyright (C) 1989-2018 Free Software Foundation, Inc.
;; See the "HY-COPY" file for license information.
;;
;; This file is part of GNU Hyperbole.
@@ -16,24 +16,12 @@
;;; Other required Elisp libraries
;;; ************************************************************************
-;; Keep this here at the top to prevent recursive reloads from
-;; Hyperbole autoload commands.
-(provide 'hmouse-drv)
-
-(if (and (boundp 'hmouse-alist) hmouse-alist)
- (require 'hui-window)
- ;; Force re-definition of hmouse-alist.
- (makunbound 'hmouse-alist)
- ;; Define hmouse-alist.
- (load "hui-mouse")
- ;; Add drag actions to hmouse-alist.
- (load "hui-window"))
+(require 'hui-window)
(require 'hypb)
;; Quiet byte compiler warnings for these free variables.
-(eval-when-compile
- (defvar hkey-action nil)
- (defvar pred-value nil))
+(defvar hkey-action)
+(defvar pred-value)
;;; ************************************************************************
;;; Public variables
@@ -1357,4 +1345,5 @@ not."
(or rtn (progn (beep) (message "End of buffer")))
rtn))
+(provide 'hmouse-drv)
;;; hmouse-drv.el ends here
diff --git a/hui-mouse.el b/hui-mouse.el
index cc1cd45..ae34581 100644
--- a/hui-mouse.el
+++ b/hui-mouse.el
@@ -4,7 +4,7 @@
;;
;; Orig-Date: 04-Feb-89
;;
-;; Copyright (C) 1991-2017 Free Software Foundation, Inc.
+;; Copyright (C) 1991-2018 Free Software Foundation, Inc.
;; See the "HY-COPY" file for license information.
;;
;; This file is part of GNU Hyperbole.
@@ -403,7 +403,7 @@ smart keyboard keys.")
(require 'hmouse-key)
;; This next library adds drag actions to `hmouse-alist'.
-(load "hui-window")
+(require 'hui-window)
;;; ************************************************************************
;;; support code
diff --git a/hui-window.el b/hui-window.el
index e904ed0..26a94b0 100644
--- a/hui-window.el
+++ b/hui-window.el
@@ -4,7 +4,7 @@
;;
;; Orig-Date: 21-Sep-92
;;
-;; Copyright (C) 1992-2017 Free Software Foundation, Inc.
+;; Copyright (C) 1992-2018 Free Software Foundation, Inc.
;; See the "HY-COPY" file for license information.
;;
;; This file is part of GNU Hyperbole.
@@ -171,9 +171,9 @@ drag release window.")
;;;
;;; Add window handling to hmouse-alist dispatch table.
-;;;
-(if (not (boundp 'hmouse-alist))
- (error "\"hui-window.el\": `hmouse-alist' must be defined before loading
this.")
+
+(defvar hmouse-alist)
+(defun hui-window--register ()
(unless (assoc #'(hmouse-inactive-minibuffer-p) hmouse-alist)
(setq hmouse-alist
(append
@@ -241,6 +241,7 @@ drag release window.")
;;
)
hmouse-alist))))
+(with-eval-after-load 'hui-mouse (hui-window--register))
;;; ************************************************************************
;;; Public functions
- [elpa] externals/hyperbole updated (f5f5244 -> cc77f02), Stefan Monnier, 2019/05/12
- [elpa] externals/hyperbole da93767 04/13: Add 4x3 Window Grid screenshot showing large in-buffer window ids, Stefan Monnier, 2019/05/12
- [elpa] externals/hyperbole 343b2ca 08/13: Set face to default removes empty line in banner image, Stefan Monnier, 2019/05/12
- [elpa] externals/hyperbole 997803d 12/13: V7.0.3 Release, Stefan Monnier, 2019/05/12
- [elpa] externals/hyperbole 17724ef 02/13: fixup! Fixed a few bugs, Stefan Monnier, 2019/05/12
- [elpa] externals/hyperbole 284a067 06/13: Merge pull request #7 from matsl/cherry-pick-elpa-changes,
Stefan Monnier <=
- [elpa] externals/hyperbole 159082b 09/13: Use diary-view-entries, Stefan Monnier, 2019/05/12
- [elpa] externals/hyperbole 5140f17 01/13: Fixed a few bugs, Stefan Monnier, 2019/05/12
- [elpa] externals/hyperbole 9755e7e 11/13: Small fixes from Mats, Stefan Monnier, 2019/05/12
- [elpa] externals/hyperbole d5de7e3 05/13: Fix compilation: don't burp if hui-window is loaded before hui-mouse, Stefan Monnier, 2019/05/12
- [elpa] externals/hyperbole 414ef94 03/13: Update for treemacs compatibility; {M-o i} push button fixes, Stefan Monnier, 2019/05/12
- [elpa] externals/hyperbole 042842d 10/13: Small fixes and doc updates in preparation for next release, Stefan Monnier, 2019/05/12
- [elpa] externals/hyperbole fdce47a 07/13: Add Gitlab to DEMO; MSWindows path handling; company-mode Smart Keys, Stefan Monnier, 2019/05/12
- [elpa] externals/hyperbole cc77f02 13/13: Merge remote-tracking branch 'hyperbole/master' into externals/hyperbole, Stefan Monnier, 2019/05/12