Hi,

Ikumi-San suggested me that TeX-clean should also delete
_region_.* files.  I think it's reasonable.

Here's a patch.  If no objection, I'll commit this.

*** tex.el      08  6 2006 08:17:50 +0900       5.573
--- tex.el      11  6 2006 20:12:56 +0900       
***************
*** 1239,1248 ****
                              (intern (concat mode-prefix
                                              "-clean-output-suffixes"))))))
         (master (TeX-active-master))
!        (regexp (concat (file-name-nondirectory master)
                         "\\("
                         (mapconcat 'identity suffixes "\\|")
!                        "\\)\\'"))
         (files (when regexp
                  (directory-files (or (file-name-directory master) ".")
                                   nil regexp))))
--- 1239,1252 ----
                              (intern (concat mode-prefix
                                              "-clean-output-suffixes"))))))
         (master (TeX-active-master))
!        (regexp (concat "\\("
!                        (file-name-nondirectory master) "\\|"
!                        (TeX-region-file nil t)
!                        "\\)"
                         "\\("
                         (mapconcat 'identity suffixes "\\|")
!                        "\\)\\'"
!                        "\\|" (TeX-region-file t t)))
         (files (when regexp
                  (directory-files (or (file-name-directory master) ".")
                                   nil regexp))))

---
email: [EMAIL PROTECTED]
Name:: Masayuki Ataka // (Japan)


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

Reply via email to