Commit 395bbcd3 authored by Martin Rudalics's avatar Martin Rudalics
Browse files

(bb-up, bb-down): Revert 2007-10-21 change and

wrap next-/previous-line in with-no-warnings.
parent 39d0bf74
2007-12-01 Martin Rudalics <rudalics@gmx.at>
* play/blackbox.el (bb-up, bb-down): Revert 2007-10-21 change and
wrap next-/previous-line in with-no-warnings.
2007-12-01 Glenn Morris <rgm@gnu.org>
* progmodes/gdb-ui.el (gud-remove, gud-break):
......
......@@ -296,14 +296,14 @@ a reflection."
(defun bb-up (count)
(interactive "p")
(while (and (> count 0) (> bb-y -1))
(forward-line -1)
(with-no-warnings (previous-line))
(setq bb-y (1- bb-y))
(setq count (1- count))))
(defun bb-down (count)
(interactive "p")
(while (and (> count 0) (< bb-y 8))
(forward-line 1)
(with-no-warnings (next-line))
(setq bb-y (1+ bb-y))
(setq count (1- count))))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment