emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] externals/auto-header dece50cc3e 05/26: Avoid generating cyclic l


From: ELPA Syncer
Subject: [elpa] externals/auto-header dece50cc3e 05/26: Avoid generating cyclic lists
Date: Sun, 26 Mar 2023 07:57:34 -0400 (EDT)

branch: externals/auto-header
commit dece50cc3ed1e9c8c3d273ca892df8f280c0f987
Author: Philip Kaludercic <philip.kaludercic@fau.de>
Commit: Philip Kaludercic <philip.kaludercic@fau.de>

    Avoid generating cyclic lists
---
 auto-header.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/auto-header.el b/auto-header.el
index d78cf525a8..3ca3f0a56d 100644
--- a/auto-header.el
+++ b/auto-header.el
@@ -3,7 +3,7 @@
 ;; Copyright (C) 2022  Philip Kaludercic
 
 ;; Author: Philip Kaludercic <philip.kaludercic@fau.de>
-;; Version: $Id: auto-header.el,v 1.3 2022/04/20 17:20:15 oj14ozun Exp 
oj14ozun $
+;; Version: $Id: auto-header.el,v 1.4 2022/04/30 07:53:03 oj14ozun Exp 
oj14ozun $
 ;; Package-Version: 1.0
 ;; Keywords: c
 
@@ -142,8 +142,8 @@ NAME."
                        auto-header-c-keywords)
          (push (match-string-no-properties 1) headers)))
       (auto-header-insert-headers
-       (mapcan #'auto-header-find-headers
-              headers)))))
+       (apply #'append (mapcar #'auto-header-find-headers
+                              headers))))))
 
 ;;;###autoload
 (define-minor-mode auto-header-mode



reply via email to

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