diff --git a/emacs.el b/emacs.el index b15ec7a..16cb409 100644 --- a/emacs.el +++ b/emacs.el @@ -294,8 +294,8 @@ found, otherwise returns nil." ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; global keys -(global-set-key (kbd "") (lambda() (interactive) (scroll-down 1))) -(global-set-key (kbd "") (lambda() (interactive) (scroll-up 1))) +(global-set-key (kbd "") 'scroll-down-line) +(global-set-key (kbd "") 'scroll-up-line) (global-set-key (kbd "") 'scroll-down) (global-set-key (kbd "") 'scroll-up) @@ -700,8 +700,8 @@ found, otherwise returns nil." (define-key esc-map "p" 'backward-paragraph) ;; (global-set-key (kbd "M-n") 'forward-paragraph) (define-key esc-map "n" 'forward-paragraph) -(global-set-key (kbd "C-") (lambda () (interactive)(scroll-down 1))) -(global-set-key (kbd "C-") (lambda () (interactive)(scroll-up 1))) +(global-set-key (kbd "C-") 'scroll-down-line) +(global-set-key (kbd "C-") 'scroll-up-line) (global-set-key (kbd "C-") 'scroll-down) (global-set-key (kbd "C-") 'scroll-up) (global-set-key (kbd "