Move move .emacs.d out of configs/shared
Moving all of my Emacs-related files into their own directory at the root of this repository.
This commit is contained in:
parent
3684adf23f
commit
578ed1ba98
190 changed files with 41 additions and 302 deletions
29
emacs/.emacs.d/wpc/org-helpers.el
Normal file
29
emacs/.emacs.d/wpc/org-helpers.el
Normal file
|
@ -0,0 +1,29 @@
|
|||
;;; 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 "~/Dropbox/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
|
Loading…
Add table
Add a link
Reference in a new issue