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
e0fdbaba
Commit
e0fdbaba
authored
Jun 07, 1993
by
Richard M. Stallman
Browse files
entered into RCS
parent
63a81d88
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
lisp/sc.el
lisp/sc.el
+5
-5
No files found.
lisp/sc.el
View file @
e0fdbaba
...
...
@@ -1106,11 +1106,11 @@ non-blank line after point.
generic-citation
))
(
t
nil
)))))
;; heuristic #6
(
defun
sc-consist
a
nt-cite-p
(
prefix
)
"Check current paragraph for consist
a
nt citation.
(
defun
sc-consist
e
nt-cite-p
(
prefix
)
"Check current paragraph for consist
e
nt citation.
Scans to paragraph delineated by (forward|backward)-paragraph to see
if all lines start with PREFIX. Returns t if entire paragraph is
consist
a
ntly cited, nil otherwise."
consist
e
ntly cited, nil otherwise."
(
save-excursion
(
let
((
end
(
progn
(
forward-paragraph
)
(
beginning-of-line
)
...
...
@@ -1173,7 +1173,7 @@ Restrict scan to current paragraph."
Fill the paragraph containing or following point. Use
sc-guess-fill-prefix to find the fill-prefix for the paragraph.
If the paragraph is inconsist
a
ntly cited (mixed fill-prefix), then the
If the paragraph is inconsist
e
ntly cited (mixed fill-prefix), then the
user is queried to restrict the the fill to only those lines around
point which begin with the fill prefix.
...
...
@@ -1186,7 +1186,7 @@ paragraph. sc-fill-arg is set by sc-fill-paragraph-manually."
(
cond
((
not
fill-prefix
)
(
fill-paragraph
sc-fill-arg
))
((
sc-consist
a
nt-cite-p
fill-prefix
)
((
sc-consist
e
nt-cite-p
fill-prefix
)
(
fill-paragraph
sc-fill-arg
))
((
y-or-n-p
"Inconsistent citation found. Restrict? "
)
(
message
""
)
...
...
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