merged
authorOleksandr Gavenko <gavenkoa@gmail.com>
Mon, 30 May 2011 23:32:36 +0300
changeset 635 7ae2454d55a6
parent 634 97785d982806 (current diff)
parent 633 3c123591132b (diff)
child 636 1c47e3a86feb
merged
.emacs-my
--- 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."