Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
cs24-19fa
git_rec_nano
Commits
c10a1e54
Commit
c10a1e54
authored
7 years ago
by
Benno Schulenberg
Browse files
Options
Download
Email Patches
Plain Diff
tweaks: elide an unneeded function now that stuff is grouped together
parent
a1c73317
master
feature/match-parens
refactor/readbility
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/history.c
+1
-7
src/history.c
with
1 addition
and
7 deletions
+1
-7
src/history.c
View file @
c10a1e54
...
...
@@ -28,12 +28,6 @@
static
bool
history_changed
=
FALSE
;
/* Have any of the history lists changed? */
/* Indicate whether any of the history lists have changed. */
bool
history_has_changed
(
void
)
{
return
history_changed
;
}
/* Initialize the search and replace history lists. */
void
history_init
(
void
)
{
...
...
@@ -405,7 +399,7 @@ void save_history(void)
FILE
*
hist
;
/* If the histories are unchanged or empty, don't bother saving them. */
if
(
!
history_
has_
changed
()
||
(
searchbot
->
lineno
==
1
&&
if
(
!
history_changed
||
(
searchbot
->
lineno
==
1
&&
replacebot
->
lineno
==
1
&&
executebot
->
lineno
==
1
))
return
;
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Projects
Groups
Snippets
Help