Changeset f907cf0


Ignore:
Timestamp:
Jul 29, 2009, 10:06:48 PM (15 years ago)
Author:
Nelson Elhage <nelhage@mit.edu>
Branches:
master, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
1610e5b
Parents:
4fde21c
Message:
Show an error message if a completion module fails to load.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • perl/lib/BarnOwl/Completion.pm

    rc4efb46 rf907cf0  
    123123        $name =~ s{[.]pm$}{};
    124124        eval "use BarnOwl::Complete::$name";
     125        if($@) {
     126            BarnOwl::error("Loading completion module $name:\n$@\n");
     127        }
    125128    }
    126129}
Note: See TracChangeset for help on using the changeset viewer.