summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2013-12-12 00:10:09 -0500
committerKyle Meyer <kyle@kyleam.com>2013-12-12 00:10:48 -0500
commit97854f0d849a129d19b99c6067aa01dbe4c2047b (patch)
tree8209d44006c98f06efd39d1d462c788a77b5888a
parentbcbea06930e872f7e35d01f6b9b6b145e57ce6b5 (diff)
downloademacs.d-97854f0d849a129d19b99c6067aa01dbe4c2047b.tar.gz
Fix void view-mode-map
Don't try to define key until after view is loaded.
-rw-r--r--init/00-km-general.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/init/00-km-general.el b/init/00-km-general.el
index 249229b..d74da3b 100644
--- a/init/00-km-general.el
+++ b/init/00-km-general.el
@@ -74,4 +74,5 @@
(setq sentence-end-double-space nil)
-(define-key view-mode-map "l" 'recenter-top-bottom)
+(eval-after-load "view"
+ '(define-key view-mode-map "l" 'recenter-top-bottom))