GNU bug report logs - #21706
25.0.50; package.el: describe-package produces a needless newline after "Archive: some-repo" line

Previous Next

Package: emacs;

Reported by: Chunyang Xu <xuchunyang56 <at> gmail.com>

Date: Mon, 19 Oct 2015 05:00:05 UTC

Severity: minor

Tags: fixed, patch

Merged with 22325

Found in version 25.0.50

Fixed in version 26.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 21706 <at> debbugs.gnu.org (full text, mbox):

From: Chunyang Xu <xuchunyang56 <at> gmail.com>
To: 21706 <at> debbugs.gnu.org
Cc: Chunyang Xu <xuchunyang56 <at> gmail.com>
Subject: [PATCH] * emacs-lisp/package.el (describe-package-1): Don't print
 needless newline
Date: Mon, 19 Oct 2015 13:03:56 +0800
---
 lisp/emacs-lisp/package.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el
index 2dbcdf6..27e3ca2 100644
--- a/lisp/emacs-lisp/package.el
+++ b/lisp/emacs-lisp/package.el
@@ -2275,7 +2275,7 @@ describe-package-1
     (insert "\n")
     (unless (and pkg-dir (not archive)) ; Installed pkgs don't have archive.
       (package--print-help-section "Archive"
-        (or archive "n/a") "\n"))
+        (or archive "n/a")))
     (and version
          (package--print-help-section "Version"
            (package-version-join version)))
-- 
2.6.0





This bug report was last modified 8 years and 170 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.