branch: externals/idlwave commit ed971097c254734ab86a41af620190c989edbc45 Author: JD Smith <jdtsm...@gmail.com> Commit: JD Smith <jdtsm...@gmail.com>
Handle missing "type" elements in the XML catalog --- idlwave.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/idlwave.el b/idlwave.el index a7f459dcaf..1d89628758 100644 --- a/idlwave.el +++ b/idlwave.el @@ -4760,7 +4760,8 @@ Gets set in cached XML rinfo, or `idlw-rinfo.el'.") (aref syntax-vec (cond ((string-match "^pro" type) 0) ((string-match "^fun" type) 1) - ((string-match "^exec" type) 2))))) + ((string-match "^exec" type) 2) + (t 0))))) ((eq ptype 'KEYWORD) (setq kwd (cdr (assq 'name props)) klink (cdr (assq 'link props)))