all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* minor fix to backward-list
@ 2005-09-23 12:24 Emanuele Giaquinta
  0 siblings, 0 replies; only message in thread
From: Emanuele Giaquinta @ 2005-09-23 12:24 UTC (permalink / raw)


The patch below removes an unneeded call to setq.

Index: lisp.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/emacs-lisp/lisp.el,v
retrieving revision 1.68
diff -u -r1.68 lisp.el
--- lisp.el	6 Aug 2005 17:08:59 -0000	1.68
+++ lisp.el	23 Sep 2005 11:32:08 -0000
@@ -106,8 +106,7 @@
 With ARG, do it that many times.
 Negative arg -N means move forward across N groups of parentheses."
   (interactive "p")
-  (or arg (setq arg 1))
-  (forward-list (- arg)))
+  (forward-list (- (or arg 1))))

 (defun down-list (&optional arg)
   "Move forward down one level of parentheses.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-09-23 12:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-23 12:24 minor fix to backward-list Emanuele Giaquinta

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.