]> git.eshelyaron.com Git - emacs.git/commitdiff
(tex-delete-last-temp-files): Use file-name-sans-extensions.
authorRichard M. Stallman <rms@gnu.org>
Mon, 6 Jul 1998 22:41:48 +0000 (22:41 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 6 Jul 1998 22:41:48 +0000 (22:41 +0000)
lisp/textmodes/tex-mode.el

index 43447bcc7ab0e1bbd2c189e3299d54e7e1d24643..58b7f266fcb776284e04c8dcf8de0427c9c0b186 100644 (file)
@@ -1045,7 +1045,9 @@ If NOT-ALL is non-nil, save the `.dvi' file."
       (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