Skip to content

Commit

Permalink
Don't require final matching prompt pattern (not always there)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdtsmith committed Jan 26, 2010
1 parent 212ce61 commit 378196b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions idlw-complete-structtag.el
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ an up-to-date completion list."
(if (or (not (string= var (or idlwave-current-tags-var "@")))
(not (eq (current-buffer) idlwave-current-tags-buffer))
(not (equal start idlwave-current-tags-completion-pos)))
(idlwave-prepare-structure-tag-completion var))
(idlwave-prepare-structure-tag-completion var ))
(setq idlwave-current-tags-completion-pos start)
(setq idlwave-completion-help-info
(list 'idlwave-complete-structure-tag-help))
Expand Down Expand Up @@ -215,8 +215,7 @@ an up-to-date completion list."
"Filter structure tag name output, result to `idlwave-current-struct-tags'."
(setq idlwave-current-struct-tags
(if (string-match (concat "tag_names(.*) *\n"
"\\(\\(.*[\r\n]?\\)*\\)"
"\\(" idlwave-shell-prompt-pattern "\\)")
"\\(\\(.*[\r\n]?\\)*\\)")
idlwave-shell-command-output)
(split-string (match-string 1 idlwave-shell-command-output)))))

Expand Down

0 comments on commit 378196b

Please sign in to comment.