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
088f8c77
Commit
088f8c77
authored
Dec 23, 1993
by
Richard M. Stallman
Browse files
(hide-bibtex-entry-bodies): Don't use replace-regexp.
parent
59755461
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
lisp/textmodes/bibtex.el
lisp/textmodes/bibtex.el
+4
-1
No files found.
lisp/textmodes/bibtex.el
View file @
088f8c77
...
...
@@ -797,7 +797,10 @@ With argument, show all text."
(
if
arg
(
subst-char-in-region
(
point
)
(
point-max
)
?\r
?\n
t
)
(
while
(
save-excursion
(
re-search-forward
"\n[^@]"
(
point-max
)
t
))
(
save-excursion
(
replace-regexp
"\n\\([^@]\\)"
"\r\\1"
))))
;; (save-excursion (replace-regexp "\n\\([^@]\\)" "\r\\1"))
(
save-excursion
(
while
(
re-search-forward
"\n\\([^@]\\)"
nil
t
)
(
replace-match
"\r\\1"
nil
nil
)))))
(
setq
selective-display
(
not
arg
))
(
set-buffer-modified-p
modifiedp
))))
...
...
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