.emacs-my
changeset 633 3c123591132b
parent 632 e808f4d0f3f8
child 635 7ae2454d55a6
--- a/.emacs-my	Fri Apr 29 19:14:46 2011 +0300
+++ b/.emacs-my	Tue May 17 16:35:48 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."