diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2021-03-08 10:11:22 -0500 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2021-03-08 10:11:22 -0500 |
commit | dc083ebc4e34158b3be4c16d558d104c8c4e5c77 (patch) | |
tree | bb4203c208a59598fd1b8d5e77f8a586e3d05b19 /lisp/net/newst-reader.el | |
parent | b4bfdd3999841dcdd779a48316b5cdb9b4f61209 (diff) | |
download | emacs-dc083ebc4e34158b3be4c16d558d104c8c4e5c77.tar.gz emacs-dc083ebc4e34158b3be4c16d558d104c8c4e5c77.tar.bz2 emacs-dc083ebc4e34158b3be4c16d558d104c8c4e5c77.zip |
* lisp/net/*.el: Use lexical-binding
Also remove some redundant `:group` arguments.
* lisp/net/eudc-export.el: Use lexical-binding.
(eudc-create-bbdb-record): Use `cl-progv` and `apply` to avoid `eval`.
* lisp/net/eudc-hotlist.el: Use lexical-binding.
* lisp/net/eudc.el (eudc-print-attribute-value): Use `funcall` to avoid
`eval`.
* lisp/net/eudcb-bbdb.el: Use lexical-binding.
(eudc-bbdb-filter-non-matching-record): Use `funcall` to avoid `eval`.
Move `bbdb-val` binding to avoid `setq`.
Use `seq-some` instead of `eval+or`.
(eudc-bbdb-format-record-as-result): Use `dolist` and `pcase`.
Use `funcall` to avoid `eval`.
(eudc-bbdb-query-internal): Simplify a bit.
* lisp/net/eudcb-ldap.el: Use lexical-binding.
(eudc-ldap-get-host-parameter): Use `defalias` to avoid `eval-and-compile`.
* lisp/net/telnet.el: Use lexical-binding.
* lisp/net/quickurl.el: Use lexical-binding.
* lisp/net/newst-ticker.el: Use lexical-binding.
* lisp/net/newst-reader.el: Use lexical-binding.
* lisp/net/goto-addr.el: Use lexical-binding.
* lisp/net/gnutls.el: Use lexical-binding.
* lisp/net/eudcb-macos-contacts.el: Use lexical-binding.
* lisp/net/eudcb-mab.el: Use lexical-binding.
* lisp/net/net-utils.el: Use lexical-binding.
(finger): Remove unused var `found`.
* lisp/net/network-stream.el (open-protocol-stream): Remove redundant
`defalias`.
* lisp/net/newst-plainview.el: Use lexical-binding.
(newsticker-hide-entry, newsticker-show-entry): Remove unused var
`is-invisible`.
(w3m-fill-column, w3-maximum-line-length): Declare vars.
* lisp/net/tramp.el (tramp-compute-multi-hops):
* lisp/net/tramp-compat.el (tramp-compat-temporary-file-directory):
* lisp/net/tramp-cmds.el (tramp-default-rename-file):
* lisp/net/webjump.el (webjump): Don't forget lexical-binding for `eval`.
Diffstat (limited to 'lisp/net/newst-reader.el')
-rw-r--r-- | lisp/net/newst-reader.el | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lisp/net/newst-reader.el b/lisp/net/newst-reader.el index b188bd4589e..40e304402ad 100644 --- a/lisp/net/newst-reader.el +++ b/lisp/net/newst-reader.el @@ -1,4 +1,4 @@ -;;; newst-reader.el --- Generic RSS reader functions. +;;; newst-reader.el --- Generic RSS reader functions. -*- lexical-binding: t; -*- ;; Copyright (C) 2003-2021 Free Software Foundation, Inc. @@ -94,7 +94,7 @@ done." (const :tag "Right" right) (const :tag "Center" center) (const :tag "Full" full)) - :set 'newsticker--set-customvar-formatting + :set #'newsticker--set-customvar-formatting :group 'newsticker-reader) (defcustom newsticker-use-full-width @@ -103,7 +103,7 @@ done." If non-nil newsticker sets `fill-column' so that the whole window is used when filling. See also `newsticker-justification'." :type 'boolean - :set 'newsticker--set-customvar-formatting + :set #'newsticker--set-customvar-formatting :group 'newsticker-reader) (defcustom newsticker-html-renderer @@ -122,7 +122,7 @@ htmlr if this option is set." (const :tag "w3" w3-region) (const :tag "w3m" w3m-region) (const :tag "htmlr" newsticker-htmlr-render)) - :set 'newsticker--set-customvar-formatting + :set #'newsticker--set-customvar-formatting :group 'newsticker-reader) (defcustom newsticker-date-format @@ -130,7 +130,7 @@ htmlr if this option is set." "Format for the date part in item and feed lines. See `format-time-string' for a list of valid specifiers." :type 'string - :set 'newsticker--set-customvar-formatting + :set #'newsticker--set-customvar-formatting :group 'newsticker-reader) (defgroup newsticker-faces nil |