auctex-diffs
[Top][All Lists]
Advanced

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

[AUCTeX-diffs] [elpa] externals/auctex 601e6a3 01/30: Get rid of gabage


From: Tassilo Horn
Subject: [AUCTeX-diffs] [elpa] externals/auctex 601e6a3 01/30: Get rid of gabage in generated texi file
Date: Fri, 25 Sep 2020 11:00:11 -0400 (EDT)

branch: externals/auctex
commit 601e6a332b070286988facdc5a56eafd09960147
Author: Ikumi Keita <ikumi@ikumi.que.jp>
Commit: Ikumi Keita <ikumi@ikumi.que.jp>

    Get rid of gabage in generated texi file
    
    * doc/preview-dtxdoc.pl (MAIN): Add rule to delete dtx comment ^^A.
    (): Add coding tag. Update copyright year.
---
 doc/preview-dtxdoc.pl | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/doc/preview-dtxdoc.pl b/doc/preview-dtxdoc.pl
index 62d215d..52d28cb 100755
--- a/doc/preview-dtxdoc.pl
+++ b/doc/preview-dtxdoc.pl
@@ -1,11 +1,12 @@
 #!/usr/bin/perl
+# -*- coding: iso-latin-1-unix; -*-
 
 # Autoconverter from preview.dtx to preview-dtxdoc.texi
 
 # Author: Jan-�ke Larsson <jalar@mai.liu.se>
 # Maintainer: auctex-devel@gnu.org
 
-# Copyright (C) 2002, 2005 Free Software Foundation, Inc.
+# Copyright (C) 2002, 2005, 2020 Free Software Foundation, Inc.
 
 # This file is part of AUCTeX.
 
@@ -53,6 +54,9 @@ MAIN: while (<STDIN>) {
     s/^%//;
     s/\\%/%/g;
 
+    # Comment
+    s/\^\^A.*\n//;
+
     # Text-substitution macros
     s/\@/\@\@/g;
     s/\\#/#/g;



reply via email to

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