branch: elpa/elpher commit 0bd12913940a047724d830725bf8649e4f8df499 Author: plugd <pl...@thelambdalab.xyz> Commit: plugd <pl...@thelambdalab.xyz>
Replaced use of 29.1 keymap-set function. --- config.mk | 2 +- elpher-pkg.el | 2 +- elpher.el | 10 +++++----- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/config.mk b/config.mk index 2b1259393e..89529abc10 100644 --- a/config.mk +++ b/config.mk @@ -1,5 +1,5 @@ PKG = elpher -VERSION = 3.6.1 +VERSION = 3.6.2 INSTALLINFO = install-info MAKEINFO = makeinfo diff --git a/elpher-pkg.el b/elpher-pkg.el index 3a81e408d0..706b3f299a 100644 --- a/elpher-pkg.el +++ b/elpher-pkg.el @@ -1,4 +1,4 @@ -(define-package "elpher" "3.6.1" "A friendly gopher and gemini client" +(define-package "elpher" "3.6.2" "A friendly gopher and gemini client" '((emacs "27.1")) :keywords ("convenience") :authors (("Tim Vaughan" . "pl...@thelambdalab.xyz")) diff --git a/elpher.el b/elpher.el index 4b8934b8aa..dcc702a1ad 100644 --- a/elpher.el +++ b/elpher.el @@ -5,7 +5,7 @@ ;; Author: Tim Vaughan <pl...@thelambdalab.xyz> ;; Created: 11 April 2019 -;; Version: 3.6.1 +;; Version: 3.6.2 ;; Keywords: comm gopher gemini ;; Homepage: https://thelambdalab.xyz/elpher ;; Package-Requires: ((emacs "27.1")) @@ -71,7 +71,7 @@ ;;; Global constants ;; -(defconst elpher-version "3.6.1" +(defconst elpher-version "3.6.2" "Current version of elpher.") (defconst elpher-margin-width 6 @@ -704,9 +704,9 @@ If LINE is non-nil, replace that line instead." (defvar elpher-link-keymap (let ((map (make-sparse-keymap))) - (keymap-set map "S-<down-mouse-1>" 'ignore) ;Prevent buffer face popup - (keymap-set map "S-<mouse-1>" #'elpher--open-link-new-buffer-mouse) - (keymap-set map "S-<return>" #'elpher--open-link-new-buffer) + (define-key map (kbd "S-<down-mouse-1>") 'ignore) ;Prevent buffer face popup + (define-key map (kbd "S-<mouse-1>") #'elpher--open-link-new-buffer-mouse) + (define-key map (kbd "S-<return>") #'elpher--open-link-new-buffer) (set-keymap-parent map button-map) map))