Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
877dde9e
Commit
877dde9e
authored
Jul 18, 2005
by
Juanma Barranquero
Browse files
(ada-make-body): Use `insert-buffer-substring' and `goto-char', not `insert-buffer'.
parent
f706036b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
lisp/progmodes/ada-mode.el
lisp/progmodes/ada-mode.el
+2
-1
No files found.
lisp/progmodes/ada-mode.el
View file @
877dde9e
...
@@ -5349,7 +5349,8 @@ spec buffer in here and modify it to make it a body.
...
@@ -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'."
This function typically is to be hooked into `ff-file-created-hooks'."
(
interactive
)
(
interactive
)
(
delete-region
(
point-min
)
(
point-max
))
(
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
)
(
ada-mode
)
(
let
(
found
ada-procedure-or-package-start-regexp
)
(
let
(
found
ada-procedure-or-package-start-regexp
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment