* simple.el (next-line, previous-line): Re-throw a signal
with `signal' instead of using `ding'. http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
2010-03-31 Juri Linkov <juri@jurta.org>
|
||||
|
||||
* simple.el (next-line, previous-line): Re-throw a signal
|
||||
with `signal' instead of using `ding'.
|
||||
http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
|
||||
|
||||
2010-03-31 Juri Linkov <juri@jurta.org>
|
||||
|
||||
* simple.el (keyboard-escape-quit): Raise deselecting the active
|
||||
|
||||
@@ -4003,9 +4003,10 @@ and more reliable (no dependence on goal column, etc.)."
|
||||
(insert (if use-hard-newlines hard-newline "\n")))
|
||||
(line-move arg nil nil try-vscroll))
|
||||
(if (called-interactively-p 'interactive)
|
||||
(condition-case nil
|
||||
(condition-case err
|
||||
(line-move arg nil nil try-vscroll)
|
||||
((beginning-of-buffer end-of-buffer) (ding)))
|
||||
((beginning-of-buffer end-of-buffer)
|
||||
(signal (car err) (cdr err))))
|
||||
(line-move arg nil nil try-vscroll)))
|
||||
nil)
|
||||
|
||||
@@ -4033,9 +4034,10 @@ to use and more reliable (no dependence on goal column, etc.)."
|
||||
(interactive "^p\np")
|
||||
(or arg (setq arg 1))
|
||||
(if (called-interactively-p 'interactive)
|
||||
(condition-case nil
|
||||
(condition-case err
|
||||
(line-move (- arg) nil nil try-vscroll)
|
||||
((beginning-of-buffer end-of-buffer) (ding)))
|
||||
((beginning-of-buffer end-of-buffer)
|
||||
(signal (car err) (cdr err))))
|
||||
(line-move (- arg) nil nil try-vscroll))
|
||||
nil)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user