emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: line-move-down-up


From: A Soare
Subject: Re: line-move-down-up
Date: Mon, 18 Apr 2011 14:53:26 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

>  > (defun line-move-down (n)
>  >   (let ((column (current-column))
> 
> Oops, no interactive declaration.  I gather you haven't even tried
> these functions at home?  Proposing two global bindings is a little
> early I suppose....
> 

Please read more carefully.


(define-key global-map [(meta down)] (lambda (&optional n) (interactive "P")
(line-move-down (if (numberp n) n 1))))





reply via email to

[Prev in Thread] Current Thread [Next in Thread]