mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-16 17:19:41 +00:00
(c-submit-bug-report): Make sure that the arguments to `insert' are strings.
This commit is contained in:
parent
d14204358f
commit
9714ec23e4
@ -1,3 +1,8 @@
|
||||
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.
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user