changeset 22707:4fa39e6af756

(tex-delete-last-temp-files): Use file-name-sans-extensions.
author Richard M. Stallman <rms@gnu.org>
date Mon, 06 Jul 1998 22:41:48 +0000
parents 27a8a6847be2
children b9ca5d9ba49c
files lisp/textmodes/tex-mode.el
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/textmodes/tex-mode.el	Mon Jul 06 22:29:52 1998 +0000
+++ b/lisp/textmodes/tex-mode.el	Mon Jul 06 22:41:48 1998 +0000
@@ -1045,7 +1045,9 @@
       (let* ((dir (file-name-directory tex-last-temp-file))
 	     (list (and (file-directory-p dir)
 			(file-name-all-completions
-			 (file-name-nondirectory tex-last-temp-file) dir))))
+			 (file-name-sans-extension
+			  (file-name-nondirectory tex-last-temp-file))
+			 dir))))
 	(while list
 	  (if not-all
 	      (and