summaryrefslogtreecommitdiff
path: root/helm-x-files.el
diff options
context:
space:
mode:
Diffstat (limited to 'helm-x-files.el')
-rw-r--r--helm-x-files.el12
1 files changed, 3 insertions, 9 deletions
diff --git a/helm-x-files.el b/helm-x-files.el
index b613ad2e..dad5876e 100644
--- a/helm-x-files.el
+++ b/helm-x-files.el
@@ -1,6 +1,6 @@
;;; helm-x-files.el --- helm auxiliary functions and sources. -*- lexical-binding: t -*-
-;; Copyright (C) 2012 ~ 2019 Thierry Volpiatto <thierry.volpiatto@gmail.com>
+;; Copyright (C) 2012 ~ 2020 Thierry Volpiatto <thierry.volpiatto@gmail.com>
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
@@ -26,7 +26,7 @@
;;
;;
(defvar dired-buffers)
-(defvar dired-re-no-dot)
+(defvar directory-files-no-dot-files-regexp)
(defun helm-files-in-all-dired-candidates ()
"Return a list of files from live `dired' buffers."
(save-excursion
@@ -34,7 +34,7 @@
when (buffer-live-p b)
append (let ((dir (with-current-buffer b dired-directory)))
(if (listp dir) (cdr dir)
- (directory-files f t dired-re-no-dot))))))
+ (directory-files f t directory-files-no-dot-files-regexp))))))
;; (dired '("~/" "~/.emacs.d/.emacs-custom.el" "~/.emacs.d/.emacs.bmk"))
@@ -124,10 +124,4 @@ with the tracker desktop search.")
(provide 'helm-x-files)
-;; Local Variables:
-;; byte-compile-warnings: (not obsolete)
-;; coding: utf-8
-;; indent-tabs-mode: nil
-;; End:
-
;;; helm-x-files.el ends here