projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bdf495f
)
Make `M-q' work on the first line of a multi-line string again
author
Lars Ingebrigtsen
<larsi@gnus.org>
Sat, 25 Jun 2022 12:58:01 +0000
(14:58 +0200)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Sat, 25 Jun 2022 12:58:17 +0000
(14:58 +0200)
* lisp/emacs-lisp/lisp-mode.el (lisp-fill-paragraph): Exclude the
quote marks from the region so that filling works (bug#56197).
lisp/emacs-lisp/lisp-mode.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/lisp-mode.el
b/lisp/emacs-lisp/lisp-mode.el
index aaec13d1afcf1755dbe982b7c3d200917b54200d..781c80fd5a0364975f7a0c36e5ff32a3588dbb4d 100644
(file)
--- a/
lisp/emacs-lisp/lisp-mode.el
+++ b/
lisp/emacs-lisp/lisp-mode.el
@@
-1481,8
+1481,8
@@
and initial semicolons."
(progn
(forward-sexp 1)
t))
- (narrow-to-region (
ppss-comment-or-string-start ppss
)
- (
point
))))
+ (narrow-to-region (
1+ (ppss-comment-or-string-start ppss)
)
+ (
1- (point)
))))
;; Move back to where we were.
(goto-char start)
(fill-paragraph justify)))))))