Skip to content

Commit

Permalink
Fix structtag completion help reliance on idlw-shell.
Browse files Browse the repository at this point in the history
  • Loading branch information
jdtsmith committed Jan 26, 2010
1 parent ecfa158 commit 7c3028a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions idlw-complete-structtag.el
Expand Up @@ -229,8 +229,9 @@ an up-to-date completion list."
(cond
((eq mode 'test)
;; fontify only in source buffers, not in the shell.
(not (equal idlwave-current-tags-buffer
(get-buffer (idlwave-shell-buffer)))))
(or (not (fboundp 'idlwave-shell-buffer))
(not (equal idlwave-current-tags-buffer
(get-buffer (idlwave-shell-buffer))))))
((eq mode 'set)
(setq kwd word
idlwave-help-do-struct-tag idlwave-structtag-struct-location))
Expand Down

0 comments on commit 7c3028a

Please sign in to comment.