Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
47917d8f
Commit
47917d8f
authored
Mar 21, 2018
by
Glenn Morris
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* lisp/gnus/gnus-cloud.el (gnus-cloud-synced-files): Fix doc & type.
parent
e32f3525
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
lisp/gnus/gnus-cloud.el
lisp/gnus/gnus-cloud.el
+9
-3
No files found.
lisp/gnus/gnus-cloud.el
View file @
47917d8f
...
...
@@ -48,10 +48,14 @@
"~/.authinfo.gpg"
"~/.gnus.el"
(
:directory
"~/News"
:match
".*.SCORE\\'"
))
"List of file regexps that should be kept up-to-date via the cloud."
"List of files that should be kept up-to-date via the cloud.
Each element may be either a string or a property list.
The latter should have a :directory element whose value is a string,
and a :match element whose value is a regular expression to match
against the basename of files in said directory."
:group
'gnus-cloud
;; FIXME this type does not match the default. Nor does the documentation.
:type
'
(
repeat
regexp
))
:type
'
(
repeat
(
choice
(
string
:tag
"File"
)
(
plist
:tag
"Property list"
))
))
(
defcustom
gnus-cloud-storage-method
(
if
(
featurep
'epg
)
'epg
'base64-gzip
)
"Storage method for cloud data, defaults to EPG if that's available."
...
...
@@ -290,6 +294,8 @@ Use old data if FORCE-OLDER is not nil."
(
dolist
(
elem
gnus-cloud-synced-files
)
(
cond
((
stringp
elem
)
;; This seems fragile. String comparison, with no
;; expand-file-name to resolve ~, etc.
(
when
(
equal
elem
file-name
)
(
setq
matched
t
)))
((
consp
elem
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment