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
50ff2e06
Commit
50ff2e06
authored
Dec 18, 2013
by
Chong Yidong
Browse files
* replace.el (occur-engine): Avoid infloop.
Fixes: debbugs:7593
parent
83c60f60
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
lisp/ChangeLog
lisp/ChangeLog
+4
-0
lisp/replace.el
lisp/replace.el
+3
-1
No files found.
lisp/ChangeLog
View file @
50ff2e06
2013-12-18 Chong Yidong <cyd@gnu.org>
* replace.el (occur-engine): Avoid infloop (Bug#7593).
2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
* progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
...
...
lisp/replace.el
View file @
50ff2e06
...
...
@@ -1457,7 +1457,9 @@ See also `multi-occur'."
;; so as to override faces copied from the buffer.
`
(
face
,
match-face
)))
curstring
)
(
setq
start
(
match-end
0
))))
;; Avoid infloop (Bug#7593).
(
let
((
end
(
match-end
0
)))
(
setq
start
(
if
(
=
start
end
)
(
1+
start
)
end
)))))
;; Generate the string to insert for this match
(
let*
((
match-prefix
;; Using 7 digits aligns tabs properly.
...
...
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