summaryrefslogtreecommitdiff
path: root/lisp/progmodes/prog-mode.el
diff options
context:
space:
mode:
authorStefan Kangas <stefan@marxist.se>2021-09-22 20:26:40 +0200
committerStefan Kangas <stefan@marxist.se>2021-09-22 20:26:40 +0200
commitaebba085cba13ad1439462923ffa0520456f1aad (patch)
tree46a8edec2ec2d81da8c4031a79fc5ee08c016933 /lisp/progmodes/prog-mode.el
parent7f06fe894cabf8f33e10386d6adb5d2ce9481a25 (diff)
downloademacs-aebba085cba13ad1439462923ffa0520456f1aad.tar.gz
emacs-aebba085cba13ad1439462923ffa0520456f1aad.tar.bz2
emacs-aebba085cba13ad1439462923ffa0520456f1aad.zip
; More minor stylistic fixes found by checkdoc
Diffstat (limited to 'lisp/progmodes/prog-mode.el')
-rw-r--r--lisp/progmodes/prog-mode.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/progmodes/prog-mode.el b/lisp/progmodes/prog-mode.el
index 7f70e02b72e..6c09dcf881d 100644
--- a/lisp/progmodes/prog-mode.el
+++ b/lisp/progmodes/prog-mode.el
@@ -127,7 +127,7 @@ which case it will be used to compose the new symbol as per the
third argument of `compose-region'.")
(defun prettify-symbols-default-compose-p (start end _match)
- "Return true iff the symbol MATCH should be composed.
+ "Return non-nil iff the symbol MATCH should be composed.
The symbol starts at position START and ends at position END.
This is the default for `prettify-symbols-compose-predicate'
which is suitable for most programming languages such as C or Lisp."
@@ -145,7 +145,7 @@ which is suitable for most programming languages such as C or Lisp."
"A predicate for deciding if the currently matched symbol is to be composed.
The matched symbol is the car of one entry in `prettify-symbols-alist'.
The predicate receives the match's start and end positions as well
-as the match-string as arguments.")
+as the `match-string' as arguments.")
(defun prettify-symbols--compose-symbol (alist)
"Compose a sequence of characters into a symbol.