comparison lisp/simple.el @ 90128:13796b0653c7

Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-29 Merge from emacs--cvs-trunk--0 Patches applied: * emacs--cvs-trunk--0 (patch 192-205) - Update from CVS - Use gdb-ui breakpoint faces on ttys too - Tweak gdb-ui breakpoint faces - Tweak info/.arch-inventory to identify info/.cvsignore as source - Clean up gdb-ui breakpoint faces
author Miles Bader <miles@gnu.org>
date Thu, 24 Mar 2005 18:41:26 +0000
parents 30ad2795fdab 660b45682e47
children 4da4a09e8b1b
comparison
equal deleted inserted replaced
90127:30ad2795fdab 90128:13796b0653c7
733 733
734 ;; Counting lines, one way or another. 734 ;; Counting lines, one way or another.
735 735
736 (defun goto-line (arg &optional buffer) 736 (defun goto-line (arg &optional buffer)
737 "Goto line ARG, counting from line 1 at beginning of buffer. 737 "Goto line ARG, counting from line 1 at beginning of buffer.
738 Normally, move point in the curren buffer. 738 Normally, move point in the current buffer.
739 With just C-u as argument, move point in the most recently displayed 739 With just \\[universal-argument] as argument, move point in the most recently
740 other buffer, and switch to it. 740 displayed other buffer, and switch to it. When called from Lisp code,
741 the optional argument BUFFER specifies a buffer to switch to.
741 742
742 If there's a number in the buffer at point, it is the default for ARG." 743 If there's a number in the buffer at point, it is the default for ARG."
743 (interactive 744 (interactive
744 (if (and current-prefix-arg (not (consp current-prefix-arg))) 745 (if (and current-prefix-arg (not (consp current-prefix-arg)))
745 (list (prefix-numeric-value current-prefix-arg)) 746 (list (prefix-numeric-value current-prefix-arg))