Le 06/03/25 à 09h05, Denis Bitouzé via "General discussions about
Org-mode." a écrit :
> With the cursor at the end of the 2nd line ("Exclusive or.") of:
>
> #+BEGIN_SRC emacs-lisp
> (defun org-xor (a b)
> "Exclusive or."
> (if a (not b) b))
> #+END_SRC
>
>
> the result with comment-line (and also with comment-region and
> comment-dwim), is:
>
> #+BEGIN_SRC emacs-lisp
> ;; (defun org-xor (a b)
> ;; "Exclusive or."
> ;; (
> if a (not b) b))
> #+END_SRC
This bug is likely to cause well-hidden and really annoying coding
errors quite frequently. Does anyone know how to fix it?
--
Denis