mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-05 07:01:11 -08:00
(ada-make-body): Use insert-buffer-substring' and goto-char', not `insert-buffer'.
This commit is contained in:
parent
f706036b3e
commit
877dde9e8b
1 changed files with 2 additions and 1 deletions
|
|
@ -5349,7 +5349,8 @@ spec buffer in here and modify it to make it a body.
|
|||
This function typically is to be hooked into `ff-file-created-hooks'."
|
||||
(interactive)
|
||||
(delete-region (point-min) (point-max))
|
||||
(insert-buffer (car (cdr (buffer-list))))
|
||||
(insert-buffer-substring (car (cdr (buffer-list))))
|
||||
(goto-char (point-min))
|
||||
(ada-mode)
|
||||
|
||||
(let (found ada-procedure-or-package-start-regexp)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue