How to enable /* Local variables */
I have added my own little mumamo c-org-mumamo-mode so that
I can embed org-mode snippets inside a c-file comment. " use +{ ... }+ brackets
to mark org-mode.
Now the problem I have is that the /* Local Variables: */ of the
test.c dont get propagated to c-mode. The local variables are
ignored. How can I enable so that c-mode gets the local variables?
-- Konrad
mumamo-fun.el:
...
(defun mumamo-
"Find +{ ... }+. Return range and `org-mode'.
See `mumamo-
(mumamo-
;;;###autoload
(define-
"Turn on multiple major modes for C with main mode `c-mode' and comment embedded org-mode snippets. "
("C-org Family" c-mode
(mumamo-
)))
...
test.c:
/*+{
This is org-mde
}+
*/
func() {}
/*
Local Variables:
c-basic-offset:4
indent-
End:
*/
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- nXhtml Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Konrad Eisele for more information if necessary.