29 lines
		
	
	
	
		
			934 B
		
	
	
	
		
			EmacsLisp
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
	
		
			934 B
		
	
	
	
		
			EmacsLisp
		
	
	
	
	
	
| ;;; org-helpers.el --- Utility functions for working with my Org setup -*- lexical-binding: t -*-
 | |
| ;; Author: William Carroll <wpcarro@gmail.com>
 | |
| 
 | |
| ;;; Commentary:
 | |
| ;; Some small utility functions intended to make me more likely to use Org mode
 | |
| ;; more often.
 | |
| 
 | |
| ;;; Code:
 | |
| 
 | |
| ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 | |
| ;; Dependencies
 | |
| ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 | |
| 
 | |
| (require 'f)
 | |
| 
 | |
| ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 | |
| ;; Library
 | |
| ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 | |
| 
 | |
| (defconst org-helpers/directory "~/briefcase/org"
 | |
|   "The directory where I store most of my Org files.")
 | |
| 
 | |
| (defun org-helpers/find-file (name)
 | |
|   "Call `find-file' on NAME in my org directory"
 | |
|   (find-file
 | |
|    (f-join org-helpers/directory name)))
 | |
| 
 | |
| (provide 'org-helpers)
 | |
| ;;; org-helpers.el ends here
 |