Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
0a60cc0d
Commit
0a60cc0d
authored
Jan 27, 2014
by
Glenn Morris
Browse files
Tweak previous fill-single-char-nobreak-p doc change
parent
793ffe81
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
etc/NEWS
etc/NEWS
+2
-2
lisp/textmodes/fill.el
lisp/textmodes/fill.el
+1
-1
No files found.
etc/NEWS
View file @
0a60cc0d
...
...
@@ -282,8 +282,8 @@ leave different number of spaces.
+++
***
`
fill
-
single
-
char
-
nobreak
-
p
' prevents fill from breaking a line after
a one-letter word, which is an error according to some
rules of
typograph
y.
To use it, add it to the `fill-nobreak-predicate'
hook
.
a one-letter word, which is an error according to some typograph
ical
conventions.
To use it, add it to the `fill-nobreak-predicate'
hook
.
+++
**
Uniquify
is
enabled
by
default
,
with
`
post
-
forward
-
angle
-
brackets
' style.
...
...
lisp/textmodes/fill.el
View file @
0a60cc0d
...
...
@@ -333,7 +333,7 @@ places."
"Return non-nil if a one-letter word is before point.
This function is suitable for adding to the hook `fill-nobreak-predicate',
to prevent the breaking of a line just after a one-letter word,
which is an error according to some
rules of typography
."
which is an error according to some
typographical conventions
."
(
save-excursion
(
skip-chars-backward
" \t"
)
(
backward-char
2
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment