3 ms·
If you can reproduce it it would be worth submitting a bug report. Comments like: (defun foo () ;; old code) new code) Should just get discarded whe
by Jtsummers 6y ago
If you can reproduce it it would be worth submitting a bug report. Comments like:
(defun foo ()
;; old code)
new code)
Should just get discarded when parsing/running the lisp code. There was a lot of code like that in my old .emacs file back when I was learning how I wanted it to behave but didn't want to delete old configurations (before I got into the git everything habit, especially).
- alpaca128 6y agoI just checked, it doesn't happen in an actual elisp buffer, but every time in a standard .org file. It'll always throw a 'Lisp error: (scan-error "Unbalanced parentheses")'. You might rightly say that evaluating lisp code directly in an org-mode code block might not be the best idea, I just don't expect it to mostly work but mess up the syntax depending on comments.