2017-02-05 Opening parenthesis at the line beginning

If you press C-M-x or other commands depending on Emacs recognizing defuns in an Elisp buffer, and weird things happen, check your docstrings for opening parentheses at the line beginnings. Eval this to see an explanation: (info "(emacs) Left Margin Paren"). (Put the point after that form and press C-x C-e. If you’re not reading this in Emacs, you may have to copy it to *scratch* or just press M-: and copy it to the minibuffer.)

See (info "(elisp) Documentation Tips") for this and more tips on docstrings. And don’t forget to run M-x checkdoc (see (info "(elisp) Tips")) on your Elisp files to check automatically for this and many other problems.

CategoryEnglish, CategoryBlog, CategoryEmacs