comparison lisp/progmodes/idlw-shell.el @ 85451:e1af3a725ca4

* textmodes/two-column.el (2C-split, 2C-merge): * textmodes/bib-mode.el (bib-find-key, mark-bib): * progmodes/idlw-shell.el (idlwave-shell-move-or-history): * progmodes/etags.el (find-tag-in-order, etags-tags-apropos) * progmodes/ada-xref.el (ada-get-all-references): * obsolete/mlsupport.el (ml-next-line, ml-previous-line): * emulation/vi.el (vi-previous-line-first-nonwhite) (vi-effective-range, vi-put-before): * emulation/edt.el (edt-next-line, edt-previous-line) (edt-paragraph-forward): Use forward-line. * progmodes/etags.el (tags-apropos): Require apropos at compile time too. * progmodes/prolog.el: Require comint when compiling. (inferior-prolog-flavor): Move defvar before use.
author Dan Nicolaescu <dann@ics.uci.edu>
date Fri, 19 Oct 2007 18:41:09 +0000
parents 5d24da5e0deb
children e1c8546ca1d5 4b09bb044f38
comparison
equal deleted inserted replaced
85450:a3bb0c15528c 85451:e1af3a725ca4
1472 (arg (if up arg (- arg)))) 1472 (arg (if up arg (- arg))))
1473 (if (eq t idlwave-shell-arrows-do-history) (goto-char proc-pos)) 1473 (if (eq t idlwave-shell-arrows-do-history) (goto-char proc-pos))
1474 (if (and idlwave-shell-arrows-do-history 1474 (if (and idlwave-shell-arrows-do-history
1475 (>= (1+ (save-excursion (end-of-line) (point))) proc-pos)) 1475 (>= (1+ (save-excursion (end-of-line) (point))) proc-pos))
1476 (comint-previous-input arg) 1476 (comint-previous-input arg)
1477 (previous-line arg)))) 1477 (forward-line (- arg)))))
1478 1478
1479 (defun idlwave-shell-up-or-history (&optional arg) 1479 (defun idlwave-shell-up-or-history (&optional arg)
1480 "When in last line of process buffer, move to previous input. 1480 "When in last line of process buffer, move to previous input.
1481 Otherwise just go up one line." 1481 Otherwise just go up one line."
1482 (interactive "p") 1482 (interactive "p")