Skip to content

Latest commit

 

History

22 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

* Projectile Variable

Store project local variables (property) using +[[https://github.com/bbatsov/projectile][Projectile]]+ and [[https://www.gnu.org/software/emacs/manual/html_node/elisp/Symbol-Plists.html][Symbol Plists]].
The name of this package has =projectile-= in the prefix, but it can now be executed without depending on it.

#+BEGIN_SRC emacs-lisp
(projectile-variable-put 'foo-value 2) ;; Store property 'foo-value
(projectile-variable-get 'foo-value)   ;;=> 2

;; Return all project local property list
(projectile-variable-plist)
;; Return project local property list filterd by prefix "foo-"
(projectile-variable-plist "foo-")
;; Return all project local properties as association list (alist)
(projectile-variable-alist)
;; Return project local properties alist filterd by prefix "foo-"
(projectile-variable-alist "foo-")
#+END_SRC

About

Store project local variables

Resources

Stars

12 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages