summaryrefslogtreecommitdiff
path: root/lisp/progmodes/prog-mode.el
diff options
context:
space:
mode:
authorStefan Kangas <stefankangas@gmail.com>2023-09-13 22:45:02 +0200
committerStefan Kangas <stefankangas@gmail.com>2023-09-14 08:03:13 +0200
commit01e8a0c6cbf38c80ceb43b099ae1624697048302 (patch)
tree57632807a74c26f23cc685c74a872e0fea5f53a5 /lisp/progmodes/prog-mode.el
parent0065621d0d36112922792d7c46085230e999cba3 (diff)
downloademacs-01e8a0c6cbf38c80ceb43b099ae1624697048302.tar.gz
emacs-01e8a0c6cbf38c80ceb43b099ae1624697048302.tar.bz2
emacs-01e8a0c6cbf38c80ceb43b099ae1624697048302.zip
Doc fix for prettify-symbols-unprettify-at-point
* lisp/progmodes/prog-mode.el (prettify-symbols-unprettify-at-point): Document that it has to be set before enabling 'prettify-symbols-mode'. (Bug#65884)
Diffstat (limited to 'lisp/progmodes/prog-mode.el')
-rw-r--r--lisp/progmodes/prog-mode.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/progmodes/prog-mode.el b/lisp/progmodes/prog-mode.el
index 0f3a477abe5..4d8246155e9 100644
--- a/lisp/progmodes/prog-mode.el
+++ b/lisp/progmodes/prog-mode.el
@@ -216,7 +216,10 @@ If set to the symbol `right-edge', also unprettify if point
is immediately after the symbol. The prettification will be
reapplied as soon as point moves away from the symbol. If
set to nil, the prettification persists even when point is
-on the symbol."
+on the symbol.
+
+This will only have an effect if it is set to a non-nil before
+`prettify-symbols-mode' is activated."
:version "25.1"
:type '(choice (const :tag "Never unprettify" nil)
(const :tag "Unprettify when point is inside" t)