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

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

Re: forward 1 (was: Re: indent-buffer)


From: Emanuel Berg
Subject: Re: forward 1 (was: Re: indent-buffer)
Date: Tue, 15 Feb 2022 02:57:17 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

> (forward-line)    ; advance one line
> (forward-line -1) ; go back one line

One can do stuff like this with this:

(defun adv (&optional rev)
  (forward-char (if rev -1 1)) )

(defun rev ()
  (adv t) )

;; (adv)
;; (rev)

So what does that mean, reversing is just another form of advancing?

Or it is true what they say in NGE, that You can
(not) advance?

https://dataswamp.org/~incal/FILM

-- 
underground experts united
https://dataswamp.org/~incal




reply via email to

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