Permalink
Browse files

Fix structtag completion help reliance on idlw-shell.

  • Loading branch information...
1 parent ecfa158 commit 7c3028ae8fdc75621369c318b1b5a32219294499 @jdtsmith committed Apr 28, 2009
Showing with 3 additions and 2 deletions.
  1. +3 −2 idlw-complete-structtag.el
@@ -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))

0 comments on commit 7c3028a

Please sign in to comment.