Preserve leading whitespace in `lm-commentary'.
* lisp/emacs-lisp/lisp-mnt.el (lm-commentary): Preserve leading whitespace (bug#46364).
This commit is contained in:
committed by
Lars Ingebrigtsen
parent
0cc35e1431
commit
9c1e89a32c
@@ -495,7 +495,7 @@ absent, return nil."
|
||||
(concat "^;;;[[:blank:]]*\\("
|
||||
lm-commentary-header
|
||||
"\\):[[:blank:]\n]*")
|
||||
"^;;[[:blank:]]*" ; double semicolon prefix
|
||||
"^;;[[:blank:]]?" ; double semicolon prefix
|
||||
"[[:blank:]\n]*\\'") ; trailing new-lines
|
||||
"" (buffer-substring-no-properties
|
||||
start (lm-commentary-end))))))))
|
||||
|
||||
Reference in New Issue
Block a user