unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#38773: 26.3; Fix docstring of netrc-parse
@ 2019-12-28 11:52 Xu Chunyang
  2019-12-28 12:41 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: Xu Chunyang @ 2019-12-28 11:52 UTC (permalink / raw)
  To: 38773

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





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

* bug#38773: 26.3; Fix docstring of netrc-parse
  2019-12-28 11:52 bug#38773: 26.3; Fix docstring of netrc-parse Xu Chunyang
@ 2019-12-28 12:41 ` Lars Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2019-12-28 12:41 UTC (permalink / raw)
  To: Xu Chunyang; +Cc: 38773

Xu Chunyang <xuchunyang56@gmail.com> writes:

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

Thanks; applied to Emacs 27.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





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

end of thread, other threads:[~2019-12-28 12:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-28 11:52 bug#38773: 26.3; Fix docstring of netrc-parse Xu Chunyang
2019-12-28 12:41 ` Lars Ingebrigtsen

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).