From: plugd Date: Tue, 2 Jul 2024 08:16:39 +0000 (+0200) Subject: Replaced use of 29.1 keymap-set function. X-Git-Tag: v3.6.2 X-Git-Url: https://thelambdalab.xyz/gitweb/index.cgi?a=commitdiff_plain;h=0bd12913940a047724d830725bf8649e4f8df499;p=elpher.git Replaced use of 29.1 keymap-set function. --- 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))