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
9714ec23
Commit
9714ec23
authored
Nov 26, 2001
by
Sam Steingold
Browse files
(c-submit-bug-report): Make sure that the arguments to `insert' are strings.
parent
d1420435
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
13 deletions
+13
-13
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/progmodes/cc-mode.el
lisp/progmodes/cc-mode.el
+8
-13
No files found.
lisp/ChangeLog
View file @
9714ec23
2001-11-26 Sam Steingold <sds@gnu.org>
* progmodes/cc-mode.el (c-submit-bug-report): Make sure that the
arguments to `insert' are strings.
2001-11-26 Richard M. Stallman <rms@gnu.org>
* startup.el (command-line-1): Call kill-buffer only in non-fancy case.
...
...
lisp/progmodes/cc-mode.el
View file @
9714ec23
...
...
@@ -385,12 +385,10 @@ Note that the style variables are always made local to the buffer."
(
c-set-style
c-file-style
))
(
and
c-file-offsets
(
mapcar
(
function
(
lambda
(
langentry
)
(
let
((
langelem
(
car
langentry
))
(
offset
(
cdr
langentry
)))
(
c-set-offset
langelem
offset
)
)))
(
lambda
(
langentry
)
(
let
((
langelem
(
car
langentry
))
(
offset
(
cdr
langentry
)))
(
c-set-offset
langelem
offset
)))
c-file-offsets
)))
(
add-hook
'hack-local-variables-hook
'c-postprocess-file-styles
)
...
...
@@ -893,13 +891,10 @@ CC Mode by making sure the proper entries are present on
filladapt-mode
defun-prompt-regexp
))
vars
)
(
function
(
lambda
()
(
run-hooks
'c-prepare-bug-report-hooks
)
(
insert
"Buffer Style: "
style
"\n\n"
(
format
"c-emacs-features: %s\n"
c-features
)
)))))))
(
lambda
()
(
run-hooks
'c-prepare-bug-report-hooks
)
(
insert
(
format
"Buffer Style: %s\n\nc-emacs-features: %s\n"
style
c-features
)))))))
(
cc-provide
'cc-mode
)
...
...
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