unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#45254: Update short docs in cperl-mode
@ 2020-12-15 13:43 E. Choroba
  2020-12-16 15:25 ` Stefan Kangas
  0 siblings, 1 reply; 3+ messages in thread
From: E. Choroba @ 2020-12-15 13:43 UTC (permalink / raw)
  To: 45254

[-- Attachment #1: Type: text/plain, Size: 34 bytes --]

Some constructs were missing.

Ch.

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch; name=0001-Update-short-docs-in-cperl-mode.patch, Size: 1733 bytes --]

From f5b43ec023e0558144d11df11c31cd6396e8fac3 Mon Sep 17 00:00:00 2001
From: "E. Choroba" <choroba@matfyz.cz>
Date: Tue, 15 Dec 2020 14:37:50 +0100
Subject: [PATCH] Update short docs in cperl-mode

---
 lisp/progmodes/cperl-mode.el | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/lisp/progmodes/cperl-mode.el b/lisp/progmodes/cperl-mode.el
index ae839a6622..5cf40fe959 100644
--- a/lisp/progmodes/cperl-mode.el
+++ b/lisp/progmodes/cperl-mode.el
@@ -7260,6 +7260,7 @@ __DATA__	Ends program source.
 __FILE__	Current (source) filename.
 __LINE__	Current line in current source.
 __PACKAGE__	Current package.
+__SUB__	Current sub.
 ARGV	Default multi-file input filehandle.  <ARGV> is a synonym for <>.
 ARGVOUT	Output filehandle with -i flag.
 BEGIN { ... }	Immediately executed (during compilation) piece of code.
@@ -7525,14 +7526,17 @@ use PACKAGE [SYMBOL1, ...]  Compile-time `require' with consequent `import'.
 prototype \\&SUB	Returns prototype of the function given a reference.
 =head1		Top-level heading.
 =head2		Second-level heading.
-=head3		Third-level heading (is there such?).
+=head3		Third-level heading.
+=head4		Fourth-level heading.
 =over [ NUMBER ]	Start list.
 =item [ TITLE ]		Start new item in the list.
 =back		End list.
 =cut		Switch from POD to Perl.
 =pod		Switch from Perl to POD.
-=begin		Switch from Perl6 to POD.
-=end		Switch from POD to Perl6.
+=begin formatname	Start directly formatted region.
+=end formatname	End directly formatted region.
+=for formatname text	Paragraph in special format.
+=encoding encodingname	Encoding of the document.
 ")
 
 (defun cperl-switch-to-doc-buffer (&optional interactive)
-- 
2.26.2


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* bug#45254: Update short docs in cperl-mode
  2020-12-15 13:43 bug#45254: Update short docs in cperl-mode E. Choroba
@ 2020-12-16 15:25 ` Stefan Kangas
  2020-12-16 15:27   ` Stefan Kangas
  0 siblings, 1 reply; 3+ messages in thread
From: Stefan Kangas @ 2020-12-16 15:25 UTC (permalink / raw)
  To: E. Choroba; +Cc: 45254

tags 45254 fixed
close 45254 28.1
thanks

E. Choroba <choroba@matfyz.cz> writes:

> Some constructs were missing.

Thanks for the patch!  Pushed to master with an added ChangeLog entry
as commit 6eb6357423.  Closing.





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#45254: Update short docs in cperl-mode
  2020-12-16 15:25 ` Stefan Kangas
@ 2020-12-16 15:27   ` Stefan Kangas
  0 siblings, 0 replies; 3+ messages in thread
From: Stefan Kangas @ 2020-12-16 15:27 UTC (permalink / raw)
  To: E. Choroba; +Cc: 45254

Stefan Kangas <stefan@marxist.se> writes:

> Thanks for the patch!  Pushed to master with an added ChangeLog entry
> as commit 6eb6357423.  Closing.

Sorry, I missed to add "Copyright-paperwork-exempt" to the commit message.

(This was short enough to not need an assignment.)





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-12-16 15:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-15 13:43 bug#45254: Update short docs in cperl-mode E. Choroba
2020-12-16 15:25 ` Stefan Kangas
2020-12-16 15:27   ` Stefan Kangas

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).