Changeset 7044 for lang/elisp

Show
Ignore:
Timestamp:
02/22/08 22:34:02 (9 months ago)
Author:
kentaro
Message:

lang/elisp/auto-save-buffers-enhanced: fixed a bug: auto-saving didn't work under unreasonable situation...

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/elisp/auto-save-buffers-enhanced/auto-save-buffers-enhanced.el

    r6932 r7044  
    8686;;; Change Log: 
    8787 
     88;; 2008-02-22: 
     89;;  * fixed a bug: auto-saving didn't work under unreasonable situation... 
     90;;    (Thanks to typester) 
     91;; 
    8892;; 2008-02-19: 
    8993;;  * added git support. 
     
    207211      (toggle-read-only)) 
    208212    (goto-char (point-min)) 
    209     (while (re-search-forward "^[\t ]+\\(\\(/[^/\n]+\\)+\\):[ ]*$" nil t) 
     213    (while (re-search-forward "^[\t ]+\\(\\(/[^\n]+\\)+\\):[ ]*$" nil t) 
    210214      (when (and (file-exists-p (match-string 1)) 
    211215                 (not (memq (match-string 1) auto-save-buffers-enhanced-include-regexps))) 
     
    223227                (file-exists-p ".cvs") 
    224228                (file-exists-p ".git")) 
    225             (setq checkout-path default-directory)) 
     229            (setq checkout-path (expand-file-name default-directory))) 
    226230        (cd "..") 
    227231        (when (equal "/" default-directory)