diff options
| author | Stefan Monnier | 2015-04-15 12:15:14 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2015-04-15 12:15:14 -0400 |
| commit | 66ae3cff960606f96818e085226e05457d98a3cf (patch) | |
| tree | d8f4712f0547f630c19636e50b8a34328af36353 /test | |
| parent | cc4705f693471650a10ec51c8eb54c7ffe873045 (diff) | |
| download | emacs-66ae3cff960606f96818e085226e05457d98a3cf.tar.gz emacs-66ae3cff960606f96818e085226e05457d98a3cf.zip | |
* src/lread.c (intern_1): Make sure we'd find the symbol we add
Fixes: debbugs:20334
* src/xfaces.c (resolve_face_name): Don't use `intern' with Lisp_Strings.
Diffstat (limited to 'test')
| -rwxr-xr-x | test/indent/perl.perl | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/indent/perl.perl b/test/indent/perl.perl index 00ef312f735..ea487543219 100755 --- a/test/indent/perl.perl +++ b/test/indent/perl.perl | |||
| @@ -5,6 +5,15 @@ sub add_funds($) { | |||
| 5 | return 0; | 5 | return 0; |
| 6 | } | 6 | } |
| 7 | 7 | ||
| 8 | my $hash = { | ||
| 9 | foo => 'bar', | ||
| 10 | format => 'some', | ||
| 11 | }; | ||
| 12 | |||
| 13 | sub some_code { | ||
| 14 | print "will not indent :("; | ||
| 15 | }; | ||
| 16 | |||
| 8 | use v5.14; | 17 | use v5.14; |
| 9 | 18 | ||
| 10 | my $str= <<END; | 19 | my $str= <<END; |