From 748fd1406ecda4a7045e6356a68c1266bd7a45a9 Mon Sep 17 00:00:00 2001 From: Andrey Kotlarski Date: Mon, 1 Apr 2013 03:07:20 +0300 Subject: [PATCH] More key-binding simplification. --- vlfi.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vlfi.el b/vlfi.el index d5f3332..017040e 100644 --- a/vlfi.el +++ b/vlfi.el @@ -56,8 +56,8 @@ (let ((map (make-sparse-keymap))) (define-key map [M-next] 'vlfi-next-batch) (define-key map [M-prior] 'vlfi-prev-batch) - (define-key map (kbd "M-+") 'vlfi-change-batch-size) - (define-key map (kbd "M--") + (define-key map "+" 'vlfi-change-batch-size) + (define-key map "-" (lambda () "Decrease vlfi batch size by factor of 2." (interactive) (vlfi-change-batch-size t)))