File tree Expand file tree Collapse file tree 1 file changed +14
-7
lines changed Expand file tree Collapse file tree 1 file changed +14
-7
lines changed Original file line number Diff line number Diff line change 12
12
; ; default-directory variable.
13
13
(c++-mode . (" ../test/" " ../include/" " ../src/" ))))
14
14
15
+ (defmacro log-and-return (x )
16
+ `(progn
17
+ (let ((return-value , x ))
18
+ (message " nealsid: %s " return-value)
19
+ return-value)))
20
+
15
21
(defun relfiles-parallel-java-tree (x )
16
22
(cond ((string-match " /java/" x) (file-name-directory (string-replace " /java/" " /javatests/" x)))
17
23
((string-match " /javatests/" x) (file-name-directory (string-replace " /javatests/" " /java/" x)))
68
74
; ; 4. Expand the file name (i.e. canonicalizing filenames to remove .., for instance)
69
75
(mapcar 'expand-file-name
70
76
; ; 3. Append extensions to each list item from 2
71
- (append-extensions
72
- ; ; 2. Remove any nil entries (signifying directories that don't exist) and then append suffixes to each item from 1.
73
- (append-suffixes (cl-remove-if-not 'identity
74
- ; ; 1. Append the filename base to the search directories
75
- (append-filename-base-to-directories search-directories filename-base))
76
- (append suffixes '(" " )))
77
- extensions)))))))
77
+ (log-and-return
78
+ (append-extensions
79
+ ; ; 2. Remove any nil entries (signifying directories that don't exist) and then append suffixes to each item from 1.
80
+ (append-suffixes (cl-remove-if-not 'identity
81
+ ; ; 1. Append the filename base to the search directories
82
+ (append-filename-base-to-directories search-directories filename-base))
83
+ (append suffixes '(" " )))
84
+ extensions))))))))
78
85
79
86
(defun append-extensions (filenames-with-suffixes extensions )
80
87
(flatten-tree (mapcar (lambda (filename-no-extension )
You can’t perform that action at this time.
0 commit comments