Make `C-u RET' work again
* lisp/simple.el (newline): Fix regression introduced by
d1aacceae9
(bug#51459).
This commit is contained in:
parent
d72fefdeab
commit
5dbb04e0eb
1 changed files with 1 additions and 1 deletions
|
@ -590,7 +590,7 @@ A non-nil INTERACTIVE argument means to run the `post-self-insert-hook'."
|
||||||
(interactive "*P\np")
|
(interactive "*P\np")
|
||||||
(barf-if-buffer-read-only)
|
(barf-if-buffer-read-only)
|
||||||
(when (and arg
|
(when (and arg
|
||||||
(< arg 0))
|
(< (prefix-numeric-value arg) 0))
|
||||||
(error "Repetition argument has to be non-negative"))
|
(error "Repetition argument has to be non-negative"))
|
||||||
;; Call self-insert so that auto-fill, abbrev expansion etc. happen.
|
;; Call self-insert so that auto-fill, abbrev expansion etc. happen.
|
||||||
;; Set last-command-event to tell self-insert what to insert.
|
;; Set last-command-event to tell self-insert what to insert.
|
||||||
|
|
Loading…
Add table
Reference in a new issue