[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[6219] get_conf hash lookup instead of function call
From: |
Gavin D. Smith |
Subject: |
[6219] get_conf hash lookup instead of function call |
Date: |
Sun, 12 Apr 2015 18:08:12 +0000 |
Revision: 6219
http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=6219
Author: gavin
Date: 2015-04-12 18:08:11 +0000 (Sun, 12 Apr 2015)
Log Message:
-----------
get_conf hash lookup instead of function call
Modified Paths:
--------------
trunk/ChangeLog
trunk/tp/Texinfo/Convert/Plaintext.pm
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2015-04-10 15:24:39 UTC (rev 6218)
+++ trunk/ChangeLog 2015-04-12 18:08:11 UTC (rev 6219)
@@ -1,3 +1,8 @@
+2015-04-12 Gavin Smith <address@hidden>
+
+ * tp/Texinfo/Convert/Plaintext.pm (new_formatter): Replace
+ function call to get_conf with hash lookup.
+
2015-04-09 Gavin Smith <address@hidden>
* doc/info-stnd.texi (Variables) <mouse>: Add note about text
Modified: trunk/tp/Texinfo/Convert/Plaintext.pm
===================================================================
--- trunk/tp/Texinfo/Convert/Plaintext.pm 2015-04-10 15:24:39 UTC (rev
6218)
+++ trunk/tp/Texinfo/Convert/Plaintext.pm 2015-04-12 18:08:11 UTC (rev
6219)
@@ -612,7 +612,7 @@
'indent_level' =>
$self->{'format_context'}->[-1]->{'indent_level'},
};
$container_conf->{'frenchspacing'} = 1
- if ($self->get_conf('frenchspacing') eq 'on');
+ if ($self->{'conf'}->{'frenchspacing'} eq 'on');
$container_conf->{'counter'}
= $self->{'text_element_context'}->[-1]->{'counter'}
if (defined($self->{'text_element_context'}->[-1]->{'counter'}));
@@ -651,7 +651,7 @@
#'code' => 0, 'code_command'=> 0,
'font_type_stack' => [{}],
'w' => 0, 'type' => $type,
- 'frenchspacing_stack' =>
[$self->get_conf('frenchspacing')]};
+ 'frenchspacing_stack' => [$self->{'conf'}->{'frenchspacing'}]};
if ($type eq 'unfilled') {
foreach my $context (reverse(@{$self->{'context'}})) {
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [6219] get_conf hash lookup instead of function call,
Gavin D. Smith <=