(save-excursion
(forward-line 0)
(looking-at (concat "."
- (make-string (1- locate-filename-indentation) ?\ )
+ (make-string (1- locate-filename-indentation) ?\s)
"\\(/\\|[A-Za-z]:\\)"))))
(defun locate-mouse-view-file (event)
;; This should support both Unix and Windoze style names
(setq directory-listing-before-filename-regexp
(concat "^."
- (make-string (1- locate-filename-indentation) ?\ )
+ (make-string (1- locate-filename-indentation) ?\s)
"\\(/\\|[A-Za-z]:\\)\\|"
(default-value 'directory-listing-before-filename-regexp)))
(make-local-variable 'dired-actual-switches)
(make-local-variable 'dired-permission-flags-regexp)
(setq dired-permission-flags-regexp
(concat "^.\\("
- (make-string (1- locate-filename-indentation) ?\ )
+ (make-string (1- locate-filename-indentation) ?\s)
"\\)\\|"
(default-value 'dired-permission-flags-regexp)))
(make-local-variable 'revert-buffer-function)
(locate-insert-header search-string)
(while (not (eobp))
- (insert-char ?\ locate-filename-indentation t)
+ (insert-char ?\s locate-filename-indentation t)
(locate-set-properties)
(forward-line 1)))
(goto-char (point-min)))