From 47faf8d6f0786279899d2ffcde8dd8786cf73338 Mon Sep 17 00:00:00 2001 From: William Carroll Date: Thu, 16 Jan 2020 11:16:22 +0000 Subject: Add headers to fs.el file These are missing and as a code janitor that's just plain unacceptable. --- configs/shared/.emacs.d/wpc/fs.el | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'configs/shared/.emacs.d') diff --git a/configs/shared/.emacs.d/wpc/fs.el b/configs/shared/.emacs.d/wpc/fs.el index adc331d176ce..b1a79e280a57 100644 --- a/configs/shared/.emacs.d/wpc/fs.el +++ b/configs/shared/.emacs.d/wpc/fs.el @@ -4,10 +4,17 @@ ;;; Commentary: ;; Ergonomic alternatives for working with the filesystem. +;;; Code: + +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Dependencies +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + (require 'f) -;;; Code: +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; Library +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (defun fs/ensure-file (path) "Ensure that a file and its directories in `PATH' exist. @@ -33,7 +40,6 @@ Should behave similarly in spirit to the Unix command, ls. If `FULL-PATH?' is set, return the full-path of the files." (-drop 2 (directory-files dir full-path?))) - ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Tests ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -- cgit 1.4.1