mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
Preserve leading whitespace in `lm-commentary'.
* lisp/emacs-lisp/lisp-mnt.el (lm-commentary): Preserve leading whitespace (bug#46364).
This commit is contained in:
parent
0cc35e1431
commit
9c1e89a32c
1 changed files with 1 additions and 1 deletions
|
|
@ -495,7 +495,7 @@ absent, return nil."
|
||||||
(concat "^;;;[[:blank:]]*\\("
|
(concat "^;;;[[:blank:]]*\\("
|
||||||
lm-commentary-header
|
lm-commentary-header
|
||||||
"\\):[[:blank:]\n]*")
|
"\\):[[:blank:]\n]*")
|
||||||
"^;;[[:blank:]]*" ; double semicolon prefix
|
"^;;[[:blank:]]?" ; double semicolon prefix
|
||||||
"[[:blank:]\n]*\\'") ; trailing new-lines
|
"[[:blank:]\n]*\\'") ; trailing new-lines
|
||||||
"" (buffer-substring-no-properties
|
"" (buffer-substring-no-properties
|
||||||
start (lm-commentary-end))))))))
|
start (lm-commentary-end))))))))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue