[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ELPA-diffs] /srv/bzr/emacs/elpa r331: notes-mode/mkconfig: don't refere
From: |
Andreas Schwab |
Subject: |
[ELPA-diffs] /srv/bzr/emacs/elpa r331: notes-mode/mkconfig: don't reference undefined envvar NOTES_BIN_DIR |
Date: |
Wed, 26 Dec 2012 14:36:41 +0100 |
User-agent: |
Bazaar (2.5.0) |
------------------------------------------------------------
revno: 331
committer: Andreas Schwab <address@hidden>
branch nick: emacs
timestamp: Wed 2012-12-26 14:36:41 +0100
message:
notes-mode/mkconfig: don't reference undefined envvar NOTES_BIN_DIR
modified:
packages/notes-mode/mkconfig
=== modified file 'packages/notes-mode/mkconfig'
--- a/packages/notes-mode/mkconfig 2012-10-22 18:16:47 +0000
+++ b/packages/notes-mode/mkconfig 2012-12-26 13:36:41 +0000
@@ -32,10 +32,11 @@
my(%defaults) = (
'dir' => ['path', '~/NOTES'],
- 'bin_dir' => ['path', "$ENV{'NOTES_BIN_DIR'}"],
'int_form' => ['form', '%Y%m'],
'file_form' => ['form', '%y%m%d'],
);
+$defaults{'bin_dir'} = ['path', "$ENV{'NOTES_BIN_DIR'}"]
+ if defined($ENV{'NOTES_BIN_DIR'});
my($key, $value, %notes);
while (($key, $value) = each %defaults) {
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [ELPA-diffs] /srv/bzr/emacs/elpa r331: notes-mode/mkconfig: don't reference undefined envvar NOTES_BIN_DIR,
Andreas Schwab <=