diff options
| author | Jani Nikula <jani@nikula.org> | 2017-02-26 11:28:30 +0200 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2017-02-26 07:37:01 -0400 |
| commit | 524372de10abafc79ccb4d71eae361cb0da0e6b9 (patch) | |
| tree | 55bb98bacfee18051ca99240647658b7b57ccd40 | |
| parent | 7bd63833bfbaff88fdf4d3cd2809ce68e8e0f976 (diff) | |
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.
| -rw-r--r-- | emacs/notmuch-maildir-fcc.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs/notmuch-maildir-fcc.el b/emacs/notmuch-maildir-fcc.el index a754b60c..777658cc 100644 --- a/emacs/notmuch-maildir-fcc.el +++ b/emacs/notmuch-maildir-fcc.el @@ -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 |
