Changeset 591ea418 for perlwrap.pm


Ignore:
Timestamp:
Nov 1, 2006, 1:18:38 PM (14 years ago)
Author:
Sam Hartman <hartmans@mit.edu>
Branches:
master, barnowl_perlaim, debian, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
f2f5815
Parents:
3d18b30
Message:
* the reload sub now lives in package owl
* load owlconf in package main
File:
1 edited

Legend:

Unmodified
Added
Removed
  • perlwrap.pm

    r3d18b30 r591ea418  
    373373   
    374374    # Do reload
    375     if (do "$ENV{HOME}/.owlconf" && reload_hook(@_))
     375    package main;
     376    if (do "$ENV{HOME}/.owlconf" && owl::reload_hook(@_))
    376377    {
    377378        return "owlconf reloaded";
     
    381382        return "$ENV{HOME}/.owlconf load attempted, but error encountered:\n$@";
    382383    }
     384package owl;
    383385}
    384386
    385387sub reload_init ()
    386388{
    387     owl::command('alias reload perl reload');
     389    owl::command('alias reload perl owl::reload()');
    388390    owl::command('bindkey global "C-x C-r" command reload');
    389391}
Note: See TracChangeset for help on using the changeset viewer.