emacs-diffs
[Top][All Lists]
Advanced

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

master 5142149: Unbreak project.el, the GNU Elpa package, for Emacs 26.3


From: Joo Tvora
Subject: master 5142149: Unbreak project.el, the GNU Elpa package, for Emacs 26.3
Date: Thu, 3 Sep 2020 08:43:34 -0400 (EDT)

branch: master
commit 5142149758333cfddc25c8c696e0e6f322e37d62
Author: João Távora <joaotavora@gmail.com>
Commit: João Távora <joaotavora@gmail.com>

    Unbreak project.el, the GNU Elpa package, for Emacs 26.3
    
    Fixes: bug#43164
    
    * lisp/progmodes/project.el: Bump to 0.5.2
    (bound-and-true-p): Check that tab-prefix-map is bound before binding.
---
 lisp/progmodes/project.el | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/lisp/progmodes/project.el b/lisp/progmodes/project.el
index 4fae3e9..7180ba3 100644
--- a/lisp/progmodes/project.el
+++ b/lisp/progmodes/project.el
@@ -1,7 +1,7 @@
 ;;; project.el --- Operations on the current project  -*- lexical-binding: t; 
-*-
 
 ;; Copyright (C) 2015-2020 Free Software Foundation, Inc.
-;; Version: 0.5.1
+;; Version: 0.5.2
 ;; Package-Requires: ((emacs "26.3") (xref "1.0.2"))
 
 ;; This is a GNU ELPA :core package.  Avoid using functionality that
@@ -667,7 +667,9 @@ The following commands are available:
   (interactive)
   (project--other-place-command '((display-buffer-in-new-tab))))
 
-;;;###autoload (define-key tab-prefix-map "p" #'project-other-tab-command)
+;;;###autoload
+(when (bound-and-true-p tab-prefix-map)
+  (define-key tab-prefix-map "p" #'project-other-tab-command))
 
 (declare-function grep-read-files "grep")
 (declare-function xref--show-xrefs "xref")



reply via email to

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