GNU bug report logs - #38773
26.3; Fix docstring of netrc-parse

Previous Next

Package: emacs;

Reported by: Xu Chunyang <xuchunyang56 <at> gmail.com>

Date: Sat, 28 Dec 2019 11:53:01 UTC

Severity: minor

Tags: fixed

Found in version 26.3

Fixed in version 27.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Xu Chunyang <xuchunyang56 <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 26.3; Fix docstring of netrc-parse
Date: Sat, 28 Dec 2019 19:52:08 +0800
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




This bug report was last modified 5 years and 144 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.