summaryrefslogtreecommitdiff
path: root/lisp/init-buffile.el
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2014-08-28 23:20:47 -0400
committerKyle Meyer <kyle@kyleam.com>2014-08-28 23:20:47 -0400
commit18eec2656aa8a78b5a4ac9aaca8722c9981eedf4 (patch)
tree6e69422642bbaf8b34ae91e98ca7ca58de52251d /lisp/init-buffile.el
parentc4c800f2bd14f895a2da5ab8d3cdd653b15dd26c (diff)
downloademacs.d-18eec2656aa8a78b5a4ac9aaca8722c9981eedf4.tar.gz
Use prefix in name of all custom maps
Diffstat (limited to 'lisp/init-buffile.el')
-rw-r--r--lisp/init-buffile.el18
1 files changed, 9 insertions, 9 deletions
diff --git a/lisp/init-buffile.el b/lisp/init-buffile.el
index bfb9c8d..98eb16f 100644
--- a/lisp/init-buffile.el
+++ b/lisp/init-buffile.el
@@ -89,8 +89,8 @@ user."
;;; Temporary scratch files
-(define-prefix-command 'scratch-map)
-(global-set-key (kbd "C-c s") 'scratch-map)
+(define-prefix-command 'km/scratch-map)
+(global-set-key (kbd "C-c s") 'km/scratch-map)
(defmacro km/make-find-scratch-func (name extension)
`(defun ,(intern (concat "km/find-scratch-" name)) ()
@@ -105,12 +105,12 @@ user."
(km/make-find-scratch-func "org" ".org")
(km/make-find-scratch-func "nomode" "")
-(define-key scratch-map "e" 'km/find-scratch-elisp)
-(define-key scratch-map "p" 'km/find-scratch-python)
-(define-key scratch-map "s" 'km/find-scratch-shell)
-(define-key scratch-map "r" 'km/find-scratch-r)
-(define-key scratch-map "h" 'km/find-scratch-haskell)
-(define-key scratch-map "o" 'km/find-scratch-org)
-(define-key scratch-map "n" 'km/find-scratch-nomode)
+(define-key km/scratch-map "e" 'km/find-scratch-elisp)
+(define-key km/scratch-map "p" 'km/find-scratch-python)
+(define-key km/scratch-map "s" 'km/find-scratch-shell)
+(define-key km/scratch-map "r" 'km/find-scratch-r)
+(define-key km/scratch-map "h" 'km/find-scratch-haskell)
+(define-key km/scratch-map "o" 'km/find-scratch-org)
+(define-key km/scratch-map "n" 'km/find-scratch-nomode)
(provide 'init-buffile)