Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Create sintern type on idlwave load

  • Loading branch information...
commit 5f64a4f9266955c3956e10f83504ea2666b3fd16 1 parent 0451b52
jdtsmith authored
Showing with 4 additions and 3 deletions.
  1. +2 −2 idlw-complete-structtag.el
  2. +2 −1  idlw-shell.el
4 idlw-complete-structtag.el
@@ -103,8 +103,8 @@
(defvar idlwave-sint-structtags nil)
;; Create the sintern type for structure talks
-(declare-function idlwave-sintern-structtag "idlw-complete-structtag" t t)
-(idlwave-new-sintern-type 'structtag)
+(add-hook 'idlwave-load-hook
+ (lambda () (idlwave-new-sintern-type 'structtag)))
;; Hook the plugin into idlwave
(add-to-list 'idlwave-complete-special 'idlwave-complete-structure-tag)
3  idlw-shell.el
@@ -2255,7 +2255,8 @@ Change the default directory for the process buffer to concur."
(match-string 1 idlwave-shell-command-output)))))
(defvar idlwave-sint-sysvars nil)
-(idlwave-new-sintern-type 'execcomm)
+(add-hook 'idlwave-load-hook
+ (lambda () (idlwave-new-sintern-type 'execcomm)))
(defun idlwave-shell-complete (&optional arg)
"Do completion in the idlwave-shell buffer.
Please sign in to comment.
Something went wrong with that request. Please try again.