summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/easy-mmode.el
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2022-04-06 13:47:46 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2022-04-06 13:47:46 +0200
commit406da54bc63b1099b6e51b3d3e025712a16a1912 (patch)
tree5daa7a77e96de311bddc989d226885adbe9cac40 /lisp/emacs-lisp/easy-mmode.el
parent45621c0b79b9c480501c77666a54562069653338 (diff)
downloademacs-406da54bc63b1099b6e51b3d3e025712a16a1912.tar.gz
Fix minor-mode doc string quoting
* lisp/emacs-lisp/easy-mmode.el (easy-mmode--mode-docstring): Fix double quoting of things like (default-value 'electric-pair-mode) (bug#54746).
Diffstat (limited to 'lisp/emacs-lisp/easy-mmode.el')
-rw-r--r--lisp/emacs-lisp/easy-mmode.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/easy-mmode.el b/lisp/emacs-lisp/easy-mmode.el
index b2302624b1a..8a76eaf58cf 100644
--- a/lisp/emacs-lisp/easy-mmode.el
+++ b/lisp/emacs-lisp/easy-mmode.el
@@ -129,7 +129,7 @@ it is disabled.")
(if global "global " "")
mode-pretty-name
;; Avoid having quotes turn into pretty quotes.
- (string-replace "'" "\\\\='" (format "%S" getter)))))
+ (string-replace "'" "\\='" (format "%S" getter)))))
(let ((start (point)))
(insert argdoc)
(when (fboundp 'fill-region)