This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU AUCTeX".

The branch, master has been updated
       via  34ab6113c4ec661e6f3644ea70aed016ab0f6cda (commit)
      from  2a4cbbb2035b802f158fbfcee2e416a91ad5bf58 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 34ab6113c4ec661e6f3644ea70aed016ab0f6cda
Author: Arash Esbati <[email protected]>
Date:   Fri May 28 11:59:35 2021 +0200

    Improve completion
    
    * style/pdfpages.el ("pdfpages"): Allow directories while reading
    the file name.  Use "\'" to match the empty string at the end of
    regexp.

diff --git a/style/pdfpages.el b/style/pdfpages.el
index f59096f..2fd44a7 100644
--- a/style/pdfpages.el
+++ b/style/pdfpages.el
@@ -110,7 +110,8 @@
                          (read-file-name
                           "File to include: " nil nil nil nil
                           (lambda (pdfs)
-                            (string-match "\\.pdf$" pdfs)))
+                            (or (file-directory-p pdfs)
+                                (string-match "\\.pdf\\'" pdfs))))
                          (TeX-master-directory))))
            (format "%s" pdffile)))))
 

-----------------------------------------------------------------------

Summary of changes:
 style/pdfpages.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
GNU AUCTeX

_______________________________________________
auctex-diffs mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/auctex-diffs

Reply via email to