Changeset 71 for lang/elisp/pdicv-mode/trunk/nt-file.el
- Timestamp:
- 01/30/09 23:52:02 (16 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
lang/elisp/pdicv-mode/trunk/nt-file.el
r67 r71 1 1 ;;; nt-file.el --- file-related functions 2 2 ;; 3 ;; Copyright (C) 2005 Naoya TOZUKA. All Rights Reserved.3 ;; Copyright (C) 2005-2009 naoya_t. All Rights Reserved. 4 4 ;; 5 ;; Author: Naoya TOZUKA <pdicviewer@gmail.com> 6 ;; Maintainer: Naoya TOZUKA <pdicviewer@gmail.com> 7 ;; Primary distribution site: http://pdicviewer.naochan.com/el/ 5 ;; Author: naoya_t <naoya.t@aqua.plala.or.jp> 6 ;; Maintainer: naoya_t <naoya.t@aqua.plala.or.jp> 7 ;; Primary distribution site: 8 ;; http://lambdarepos.svnrepository.com/svn/share/lang/elisp/pdicv-mode/trunk 8 9 ;; 9 10 ;; Created: 16 Feb 2005 (formerly nt-utils) … … 36 37 (setq my-buffer (buffer-substring 1 (+ 1 read-length))) 37 38 (kill-buffer buffer-name) 38 my-buffer 39 ) ; let 40 ) ; save-current-buffer 41 ) 39 my-buffer))) 42 40 43 41 (defun nt:scan-latest-version (filename-format min max) … … 47 45 (let ((file (format filename-format version))) 48 46 (if (file-readable-p file) (throw 'scan-latest-version (list file version)) 49 (setq version (1- version)) 50 );fi 51 );let 52 );wend 53 nil 54 );let 55 );caught 56 ) 47 (setq version (1- version))))) 48 nil))) 57 49 58 50 ;;; nt-file.el ends here