all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* multi-line comments in javascript mode?
@ 2011-11-04 14:01 Matt Price
  2011-11-04 16:35 ` Philipp Haselwarter
  0 siblings, 1 reply; 2+ messages in thread
From: Matt Price @ 2011-11-04 14:01 UTC (permalink / raw)
  To: help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 242 bytes --]

Hmm,  setting comment mode to "multi-line" in customize-variable
comment-style doesn't seem to have an effect in the default javascript
editing mode.  Does anyone know how to get multi-line comments working in
javascript?

Thanks much,

Matt

[-- Attachment #2: Type: text/html, Size: 279 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: multi-line comments in javascript mode?
  2011-11-04 14:01 multi-line comments in javascript mode? Matt Price
@ 2011-11-04 16:35 ` Philipp Haselwarter
  0 siblings, 0 replies; 2+ messages in thread
From: Philipp Haselwarter @ 2011-11-04 16:35 UTC (permalink / raw)
  To: help-gnu-emacs

(setq comment-start "/*"
      comment-end "*/"
      comment-style 'multi-line)

[info:emacs#Options for Comments]
http://xahlee.org/emacs/elisp_comment_handling.html

-- 
Philipp Haselwarter




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-11-04 16:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-04 14:01 multi-line comments in javascript mode? Matt Price
2011-11-04 16:35 ` Philipp Haselwarter

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.