Closed
Description
Expected behavior
When delete-trailing-whitespace mode is enabled (or the function called by hand),
trailing commas at the end of a docstring line shouldn't be deleted.
Actual behavior
Commas at the end of a docstring line are deleted.
Steps to reproduce the problem
- Open foo.clj
- Type
(def foo
"A docstring with more than a line,
and a comma at the end of the previous one."
42)
- Extend the region to the full file, e.g.
C-x h
M-x delete-trailing-whitespace
The command at the end of "than a line," is deleted.
Environment & Version information
emacs 27 pre-release
clojure-mode version
clojure-mode (version 5.12.0-snapshot)
Emacs version
27 pre-release
Operating system
Debian sid