Skip to content

Commit

Permalink
Remove a redundant check for gnuplot-keywords-pending
Browse files Browse the repository at this point in the history
This prevents an unnecessary delay for info-look to build its cache,
when using context-based completion and help lookup instead.
  • Loading branch information
joddie committed Oct 11, 2012
1 parent ae5e628 commit c520e94
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions gnuplot.el
Original file line number Diff line number Diff line change
Expand Up @@ -2826,8 +2826,6 @@ positions and COMPLETIONS is a list."
Uses the cache of keywords generated by info-lookup and
`comint-dynamic-simple-complete' to handle the actual
completion."
(if gnuplot-keywords-pending ; <HW>
(gnuplot-setup-info-look))
(let ((completions (gnuplot-completion-at-point)))
(if completions
(let* ((beg (nth 0 completions))
Expand Down

0 comments on commit c520e94

Please sign in to comment.