about summary refs log tree commit diff
path: root/configs/shared/emacs/.emacs.d/wpc/packages/wpc-misc.el
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2019-03-08T18·18+0000
committerWilliam Carroll <wpcarro@gmail.com>2019-03-08T18·18+0000
commit7270292d735518a6f110c49aab303d4fde911eb4 (patch)
treefbab654debeb6692846676839acf84613cdffd26 /configs/shared/emacs/.emacs.d/wpc/packages/wpc-misc.el
parent4d7d937df7b6ea4c9a7a5a14bf16fbd0d138d93c (diff)
Support org shortcut and ELisp fn
Support generic ELisp fn. Should have a dumping grounds for ELisp
fns similar to my dumping_grounds.zsh.
Diffstat (limited to 'configs/shared/emacs/.emacs.d/wpc/packages/wpc-misc.el')
-rw-r--r--configs/shared/emacs/.emacs.d/wpc/packages/wpc-misc.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/configs/shared/emacs/.emacs.d/wpc/packages/wpc-misc.el b/configs/shared/emacs/.emacs.d/wpc/packages/wpc-misc.el
index 1f1b4d580333..46812c60d652 100644
--- a/configs/shared/emacs/.emacs.d/wpc/packages/wpc-misc.el
+++ b/configs/shared/emacs/.emacs.d/wpc/packages/wpc-misc.el
@@ -48,6 +48,7 @@
 (set-register ?d '(file . "~/programming/dotfiles"))
 (set-register ?s '(file . "~/.slate.js"))
 (set-register ?D '(file . "~/Dropbox"))
+(set-register ?o '(file . "~/Documents/org/"))
 
 (set-register ?v '(file . "~/.config/nvim/init.vim"))
 (set-register ?e '(file . "~/.emacs.d/init.el"))
@@ -176,5 +177,9 @@
   :config
   (push 'company-lsp company-backends))
 
+(defun wpc/frame-name ()
+  "Return the name of the current frame."
+  (frame-parameter nil 'name))
+
 (provide 'wpc-misc)
 ;;; wpc-misc.el ends here