From 0bd12913940a047724d830725bf8649e4f8df499 Mon Sep 17 00:00:00 2001 From: plugd Date: Tue, 2 Jul 2024 10:16:39 +0200 Subject: [PATCH] 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 2b12593..89529ab 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 3a81e40..706b3f2 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" . "plugd@thelambdalab.xyz")) diff --git a/elpher.el b/elpher.el index 4b8934b..dcc702a 100644 --- a/elpher.el +++ b/elpher.el @@ -5,7 +5,7 @@ ;; Author: Tim Vaughan ;; 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-" 'ignore) ;Prevent buffer face popup - (keymap-set map "S-" #'elpher--open-link-new-buffer-mouse) - (keymap-set map "S-" #'elpher--open-link-new-buffer) + (define-key map (kbd "S-") 'ignore) ;Prevent buffer face popup + (define-key map (kbd "S-") #'elpher--open-link-new-buffer-mouse) + (define-key map (kbd "S-") #'elpher--open-link-new-buffer) (set-keymap-parent map button-map) map)) -- 2.20.1