mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
Use lexical-binding in netrc.el and add tests
* lisp/net/netrc.el: Use lexical-binding. (netrc-file): Remove redundant :group arg. * test/lisp/net/netrc-resources/authinfo: * test/lisp/net/netrc-resources/services: * test/lisp/net/netrc-tests.el: New files.
This commit is contained in:
parent
01d67bc845
commit
039ffaf69f
4 changed files with 64 additions and 3 deletions
|
|
@ -1,4 +1,5 @@
|
|||
;;; netrc.el --- .netrc parsing functionality
|
||||
;;; netrc.el --- .netrc parsing functionality -*- lexical-binding: t -*-
|
||||
|
||||
;; Copyright (C) 1996-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Lars Magne Ingebrigtsen <larsi@gnus.org>
|
||||
|
|
@ -40,8 +41,7 @@
|
|||
(defcustom netrc-file "~/.authinfo"
|
||||
"File where user credentials are stored."
|
||||
:version "24.1"
|
||||
:type 'file
|
||||
:group 'netrc)
|
||||
:type 'file)
|
||||
|
||||
(defvar netrc-services-file "/etc/services"
|
||||
"The name of the services file.")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue