spacemacs/layers/+tools/fasd/funcs.el
Maximilian Wolff 1d84447e68
[fasd] Revise layer
Add missing standard headers
Make funcs.el define only functions
and move init code for ivy into
fasd-init function.
2021-02-07 23:01:43 +01:00

13 lines
352 B
EmacsLisp

;;; funcs.el --- fasd Layer packages File for Spacemacs
;;
;; URL: https://github.com/syl20bnr/spacemacs
;;
;; This file is not part of GNU Emacs.
;;
;;; License: GPLv3
(defun ivy-search-from-action (x)
(if (file-directory-p x)
(spacemacs/counsel-search dotspacemacs-search-tools nil x)
(message "Selected item is not a directory path")))