1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

Rename a recently-added variable (bug#56197)

* lisp/emacs-lisp/lisp-mode.el
(lisp-fill-paragraphs-as-doc-string): Renamed from
'lisp-fill-paragraph-as-displayed' and default value reversed.
(lisp-fill-paragraph): Adjust to the change.
* test/lisp/emacs-lisp/lisp-mode-tests.el
(lisp-fill-paragraph-as-displayed): Likewise.
This commit is contained in:
Eli Zaretskii 2025-02-01 12:22:13 +02:00
parent 22ab03e155
commit e067f2763f
2 changed files with 8 additions and 7 deletions

View file

@ -333,7 +333,7 @@ Here is some more text.\"
(ert-deftest lisp-fill-paragraph-as-displayed ()
"Test bug#56197 -- more specifically, validate that a leading indentation
for a string is preserved in the filled string."
(let ((lisp-fill-paragraph-as-displayed t) ;variable under test
(let ((lisp-fill-paragraphs-as-doc-string nil) ;variable under test
;; The following is a contrived example that demonstrates the
;; fill-column problem when the string to fill is indented.
(source "\