[3324] in BarnOwl Developers

home help back first fref pref prev next nref lref last post

[barnowl/barnowl] 05adcc: Make :loadsubs reload instanced personals

daemon@ATHENA.MIT.EDU (GitHub)
Sun Jan 13 09:10:49 2013

Date: Sun, 13 Jan 2013 06:10:36 -0800
From: GitHub <noreply@github.com>
Reply-To: GitHub <noreply@github.com>
To: barnowl-dev@mit.edu



----==_mimepart_50f2c05c3956e_5528d8cae89665b
Date: Sun, 13 Jan 2013 06:10:36 -0800
Mime-Version: 1.0
Content-Type: text/plain;
 charset=UTF-8
Content-Transfer-Encoding: 7bit
Content-ID: <50f2c05c3a807_5528d8cae8967c3@sh4.rs.github.com.mail>

  Branch: refs/heads/master
  Home:   https://github.com/barnowl/barnowl
  Commit: 05adccf169f26130f56cd69a12829a9d80043a75
      https://github.com/barnowl/barnowl/commit/05adccf169f26130f56cd69a12829a9d80043a75
  Author: David Benjamin <davidben@mit.edu>
  Date:   2013-01-13 (Sun, 13 Jan 2013)

  Changed paths:
    M functions.c

  Log Message:
  -----------
  Make :loadsubs reload instanced personals too

Right now if your subs get lost because something falls over, you have
to manually sub to instanced personals to get them back. :loadsubs
doesn't work.

(Supposedly that code is for "backwards compatibility", but... it dates
back to kretch. Probably because it's odd that :loadsubs [file] will
also automatically load the default subs. But given that everyone runs
:loadsubs with no argument to mean "oops zephyr fell over reload my subs
please", I'm okay with adding more code to the "backwards compatibility"
path. I doubt anyone actually runs :loadsubs with an argument anyway.)

Also, while I'm here, get rid of that 'foo' variable. (Really? Really?!
foo?!?)




----==_mimepart_50f2c05c3956e_5528d8cae89665b--

home help back first fref pref prev next nref lref last post