2

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 Answer 1

2

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

Documented in the emacs manual.

Found via this comment.

2
  • FYI: You can accept your own answer to your question. It's good to have accepted answers - helps others who have the same question. Commented Jun 8, 2020 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. Commented Jun 9, 2020 at 15:05

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.