I have problems running
eval-defun for a
defun when there is a square bracket
[ in column 0 of its doc string. For example:
(defun test () "Test function. [Some text]" (message "Hello"))
When I position the cursor inside the function above and type
M-x eval-defun RET it displays
"[Some text]" in the echo area, but the
defun is not being evaluated. If I remove the square bracket
[ in the doc string, and then reevaluate, it works fine and displays
"test" in the echo area.
I am using GNU Emacs 25.2.1 on Ubuntu 17.04.