summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRavi R Kiran <aine.marina@gmail.com>2013-12-28 04:43:09 (GMT)
committerRavikiran Rajagopal <aine.marina@gmail.com>2013-12-28 04:43:09 (GMT)
commitcb549e36a5c750e38046409b1e17da255290e560 (patch)
tree4b4a1b1cf90d2cd0f420e1496bbcbe406609cdee
parente3c87cc4fe461f54a5d36422afd6d011cdee4860 (diff)
downloaddotemacs-cb549e36a5c750e38046409b1e17da255290e560.zip
dotemacs-cb549e36a5c750e38046409b1e17da255290e560.tar.gz
dotemacs-cb549e36a5c750e38046409b1e17da255290e560.tar.bz2
Use a real named function instead of a lambda
-rw-r--r--ravi-init-navigation.el19
1 files changed, 11 insertions, 8 deletions
diff --git a/ravi-init-navigation.el b/ravi-init-navigation.el
index 5da6353..ad8f11d 100644
--- a/ravi-init-navigation.el
+++ b/ravi-init-navigation.el
@@ -99,17 +99,18 @@
;; Marking and moving lines
-(bind-key
- "M-j"
- (lambda ()
- (interactive)
- (join-line -1))
+(defun ravi/pull-up-a-line()
+ "Pull up the next line"
+ (interactive)
+ (join-line -1)
)
+(bind-key "M-j" 'ravi/pull-up-a-line)
+
(use-package move-lines
:bind (("<C-S-down>" . move-lines-down)
- ("<C-S-up>" . move-lines-up)
- )
+ ("<C-S-up>" . move-lines-up)
+ )
)
;; grep and friends
@@ -128,7 +129,9 @@
(bind-key "M-O" 'isearch-moccur-all isearch-mode-map))
:config
- (use-package moccur-edit)
+ (use-package moccur-edit
+; :ensure t
+ )
:ensure t
)