added the f library

This commit is contained in:
ndwarshuis 2019-05-01 17:21:45 -04:00
parent c1ecc6d6c8
commit 5475f38e49
1 changed files with 8 additions and 10 deletions

View File

@ -80,37 +80,35 @@ Using an org file like this offers several advantages. First, org files are fold
* library * library
This is code that is used generally throughout the emacs config This is code that is used generally throughout the emacs config
** external ** external
*** s Some useful external libraries that I use all over the place
*** string manipulation
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(use-package s (use-package s
:straight t) :straight t)
#+END_SRC #+END_SRC
*** dash *** functional programming
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(use-package dash (use-package dash
:straight t :straight t
:config :config
(setq dash-enable-fontlock t)) (setq dash-enable-fontlock t))
#+END_SRC #+END_SRC
*** dash functional
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(use-package dash-functional (use-package dash-functional
:straight t) :straight t)
#+END_SRC #+END_SRC
*** sound-wav *** file operations
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(use-package sound-wav (use-package f
:straight t) :straight t)
#+END_SRC #+END_SRC
** internal ** internal
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(defvar nd/local-pkg-directory (defvar nd/local-pkg-directory "local/share/")
(expand-file-name (convert-standard-filename "local/share/")
user-emacs-directory))
(defun nd/expand-local-pkg-directory (path) (defun nd/expand-local-pkg-directory (path)
(expand-file-name (convert-standard-filename path) (f-join user-emacs-directory nd/local-pkg-directory path))
nd/local-pkg-directory))
#+END_SRC #+END_SRC
** macros ** macros
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp