mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-21 18:38:08 +01:00
emacs: use (system-name) instead of system-name
Fix the deprecation warning: In notmuch-maildir-fcc-make-uniq-maildir-id: emacs/notmuch-maildir-fcc.el:279:53:Warning: ‘system-name’ is an obsolete variable (as of 25.1); use (system-name) instead I've used (system-name) since at least 2011, so it must have been around quite a while.
This commit is contained in:
parent
7bd63833bf
commit
524372de10
1 changed files with 1 additions and 1 deletions
|
@ -276,7 +276,7 @@ If CREATE is non-nil then create the folder if necessary."
|
|||
(defun notmuch-maildir-fcc-make-uniq-maildir-id ()
|
||||
(let* ((ftime (float-time))
|
||||
(microseconds (mod (* 1000000 ftime) 1000000))
|
||||
(hostname (notmuch-maildir-fcc-host-fixer system-name)))
|
||||
(hostname (notmuch-maildir-fcc-host-fixer (system-name))))
|
||||
(setq notmuch-maildir-fcc-count (+ notmuch-maildir-fcc-count 1))
|
||||
(format "%d.%d_%d_%d.%s"
|
||||
ftime
|
||||
|
|
Loading…
Reference in a new issue