diff options
| author | Kevin Ryde | 2012-12-01 09:22:28 +0800 |
|---|---|---|
| committer | Chong Yidong | 2012-12-01 09:22:28 +0800 |
| commit | 00054d2199d929eb224ae62dec2e55608ff1c07f (patch) | |
| tree | cbd9761c40dddbc55d54d3a02476300714728951 /doc | |
| parent | f64898abf40b09990c4974c921ddc2ebc698609a (diff) | |
| download | emacs-00054d2199d929eb224ae62dec2e55608ff1c07f.tar.gz emacs-00054d2199d929eb224ae62dec2e55608ff1c07f.zip | |
* lib-src/etags.c (Perl_functions): Support "use constant".
* doc/emacs/maintaining.texi (Tag Syntax): Mention Perl's "use constant".
Fixes: debbugs:5055
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/emacs/ChangeLog | 4 | ||||
| -rw-r--r-- | doc/emacs/maintaining.texi | 10 |
2 files changed, 9 insertions, 5 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog index 5c4ae2e1ee0..fd543789751 100644 --- a/doc/emacs/ChangeLog +++ b/doc/emacs/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2012-12-01 Kevin Ryde <user42@zip.com.au> | ||
| 2 | |||
| 3 | * maintaining.texi (Tag Syntax): Mention Perl's "use constant". | ||
| 4 | |||
| 1 | 2012-11-24 Paul Eggert <eggert@cs.ucla.edu> | 5 | 2012-11-24 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 6 | ||
| 3 | * doclicense.texi, gpl.texi: Update to latest version from FSF. | 7 | * doclicense.texi, gpl.texi: Update to latest version from FSF. |
diff --git a/doc/emacs/maintaining.texi b/doc/emacs/maintaining.texi index 67214bde22c..06680a6b4e3 100644 --- a/doc/emacs/maintaining.texi +++ b/doc/emacs/maintaining.texi | |||
| @@ -1766,11 +1766,11 @@ the file. | |||
| 1766 | 1766 | ||
| 1767 | @item | 1767 | @item |
| 1768 | In Perl code, the tags are the packages, subroutines and variables | 1768 | In Perl code, the tags are the packages, subroutines and variables |
| 1769 | defined by the @code{package}, @code{sub}, @code{my} and @code{local} | 1769 | defined by the @code{package}, @code{sub}, @code{use constant}, |
| 1770 | keywords. Use @samp{--globals} if you want to tag global variables. | 1770 | @code{my}, and @code{local} keywords. Use @samp{--globals} if you |
| 1771 | Tags for subroutines are named @samp{@var{package}::@var{sub}}. The | 1771 | want to tag global variables. Tags for subroutines are named |
| 1772 | name for subroutines defined in the default package is | 1772 | @samp{@var{package}::@var{sub}}. The name for subroutines defined in |
| 1773 | @samp{main::@var{sub}}. | 1773 | the default package is @samp{main::@var{sub}}. |
| 1774 | 1774 | ||
| 1775 | @item | 1775 | @item |
| 1776 | In PHP code, tags are functions, classes and defines. Vars are tags | 1776 | In PHP code, tags are functions, classes and defines. Vars are tags |