Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
fc7f501b
Commit
fc7f501b
authored
Oct 12, 2013
by
Oleh Krehel
Committed by
Glenn Morris
Oct 12, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* lisp/replace.el (how-many): Fix rstart and !rend case.
Fixes: debbugs:15589
parent
fdcb2049
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
3 deletions
+10
-3
lisp/ChangeLog
lisp/ChangeLog
+4
-0
lisp/replace.el
lisp/replace.el
+6
-3
No files found.
lisp/ChangeLog
View file @
fc7f501b
2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
* replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
2013-10-13 Andreas Politz <politza@hochschule-trier.de>
* progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
...
...
lisp/replace.el
View file @
fc7f501b
...
...
@@ -810,9 +810,12 @@ a previously found match."
(keep-lines-read-args "How many matches for regexp"))
(save-excursion
(if rstart
(progn
(goto-char (min rstart rend))
(setq rend (max rstart rend)))
(if rend
(progn
(goto-char (min rstart rend))
(setq rend (max rstart rend)))
(goto-char rstart)
(setq rend (point-max)))
(if (and interactive transient-mark-mode mark-active)
(setq rstart (region-beginning)
rend (region-end))
...
...
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