1

I spent a long time looking for this and kept getting reference to M-x customize. But, that didn't give me access to certain variables like comment-start. I couldn't access comment-start with M-x customize-option either.

I decided to look for a way to use setq in the current buffer, but couldn't find that so I figured I'd document it here.

1

M-: (setq comment-start "/**").

Documented in the emacs manual.

Found via this comment.

| improve this answer | |
  • FYI: You can accept your own answer to your question. It's good to have accepted answers - helps others who have the same question. – Drew Jun 8 at 23:16
  • Thank you. Yes, I still have some time until it will let me do so. It also gives a chance for others to post a better or alternative solution. – young_souvlaki Jun 9 at 15:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.