help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: abbrev-mode wizardry needed


From: Kevin Rodgers
Subject: Re: abbrev-mode wizardry needed
Date: Wed, 19 Apr 2006 10:19:54 -0600
User-agent: Mozilla Thunderbird 0.9 (X11/20041105)

address@hidden wrote:
I can't seem to figure out how to get RET to go to the end of the next
line rather than to insert a new line, though.

I tried this:

(defun end-of-next-line ()
  (interactive)
  (next-line)
  (end-of-line))

But that doesn't seem to work.

next-line has a required argument, and should not be called from Lisp
(read its doc string).

Also, how did you bind that command to RET?

--
Kevin Rodgers





reply via email to

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