unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Xu Chunyang <xuchunyang56@gmail.com>
To: 38773@debbugs.gnu.org
Subject: bug#38773: 26.3; Fix docstring of netrc-parse
Date: Sat, 28 Dec 2019 19:52:08 +0800	[thread overview]
Message-ID: <CABCqdBk3HiX8TSaJyEaU5cG8RFx5g+S7b-8251f_7BGM3R4-oQ@mail.gmail.com> (raw)

The docstring of netrc-parse is in the wrong place, it should be
before the interactive form, here is the fix.

diff -u --label /Users/xcy/src/emacs-mac/lisp/net/netrc.el --label
\#\<buffer\ netrc.el\> /Users/xcy/src/emacs-mac/lisp/net/netrc.el
/var/folders/7f/s191h4q97p90374yw15ssrs00000gn/T/buffer-content-z8NQyt
--- /Users/xcy/src/emacs-mac/lisp/net/netrc.el
+++ #<buffer netrc.el>
@@ -49,8 +49,8 @@
 (defvar netrc-cache nil)

 (defun netrc-parse (&optional file)
-  (interactive "fFile to Parse: ")
   "Parse FILE and return a list of all entries in the file."
+  (interactive "fFile to Parse: ")
   (unless file
     (setq file netrc-file))
   (if (listp file)

Diff finished.  Sat Dec 28 19:49:09 2019





             reply	other threads:[~2019-12-28 11:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-28 11:52 Xu Chunyang [this message]
2019-12-28 12:41 ` bug#38773: 26.3; Fix docstring of netrc-parse Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CABCqdBk3HiX8TSaJyEaU5cG8RFx5g+S7b-8251f_7BGM3R4-oQ@mail.gmail.com \
    --to=xuchunyang56@gmail.com \
    --cc=38773@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).