.emacs-my
changeset 635 7ae2454d55a6
parent 634 97785d982806
parent 633 3c123591132b
child 636 1c47e3a86feb
--- a/.emacs-my	Mon May 30 23:32:08 2011 +0300
+++ b/.emacs-my	Mon May 30 23:32:36 2011 +0300
@@ -612,7 +612,7 @@
   )
 
 (defun my-file-name-tmp-p (file)
-  (string-match "\\(^#.*#\\|~\\|\\.orig\\|\\.log\\|^.?\\.diff\\|.stackdump\\)\\'" (file-name-nondirectory file)))
+  (string-match "\\(?:^#.*#\\|~\\|\\.orig\\|\\.log\\|^.?\\.diff\\|\\.stackdump\\|\\.rej\\)\\'" (file-name-nondirectory file)))
 
 (defun my-dired-flag-tmp-files ()
   "Flag all temporary files for deletion."