aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/net
diff options
context:
space:
mode:
authorDaniel Hackney2013-09-04 23:30:07 -0400
committerStefan Monnier2013-09-04 23:30:07 -0400
commit6c42fc3efbbf590fca00b866859fbfa13d34b70a (patch)
tree0519b227a10215d99c1bc1373130c993ff93c623 /lisp/net
parent4c528aabaa750d9a4e739dde482b307b734dcd62 (diff)
downloademacs-6c42fc3efbbf590fca00b866859fbfa13d34b70a.tar.gz
emacs-6c42fc3efbbf590fca00b866859fbfa13d34b70a.zip
* lisp/dired-x.el:
* lisp/net/ange-ftp.el: * lisp/net/browse-url.el: * lisp/net/dbus.el: * lisp/net/eudc.el: * lisp/net/eudcb-ldap.el: * lisp/net/eww.el: * lisp/net/imap.el: * lisp/printing.el: * lisp/vc/ediff-diff.el: * lisp/vc/ediff-init.el: * lisp/vc/ediff-merg.el: * lisp/vc/ediff-mult.el: * lisp/vc/ediff-util.el: * lisp/vc/ediff-wind.el: * lisp/vc/ediff.el: * lisp/vc/emerge.el: * lisp/vc/pcvs.el: * vc/vc-annotate.el: Prefix unused arguments with `_' to silence byte compiler. Remove some unused let-bound variables.
Diffstat (limited to 'lisp/net')
-rw-r--r--lisp/net/ange-ftp.el17
-rw-r--r--lisp/net/browse-url.el20
-rw-r--r--lisp/net/dbus.el4
-rw-r--r--lisp/net/eudc.el10
-rw-r--r--lisp/net/eudcb-ldap.el2
-rw-r--r--lisp/net/eww.el2
-rw-r--r--lisp/net/imap.el24
7 files changed, 38 insertions, 41 deletions
diff --git a/lisp/net/ange-ftp.el b/lisp/net/ange-ftp.el
index 177fdaca150..67c74f88250 100644
--- a/lisp/net/ange-ftp.el
+++ b/lisp/net/ange-ftp.el
@@ -3733,7 +3733,7 @@ so return the size on the remote host exactly. See RFC 3659."
3733;; next part of copying routine. 3733;; next part of copying routine.
3734(defun ange-ftp-cf1 (result line 3734(defun ange-ftp-cf1 (result line
3735 filename newname binary msg 3735 filename newname binary msg
3736 f-parsed f-host f-user f-name f-abbr 3736 f-parsed f-host f-user _f-name f-abbr
3737 t-parsed t-host t-user t-name t-abbr 3737 t-parsed t-host t-user t-name t-abbr
3738 temp1 temp2 cont nowait) 3738 temp1 temp2 cont nowait)
3739 (if line 3739 (if line
@@ -3835,7 +3835,7 @@ so return the size on the remote host exactly. See RFC 3659."
3835 3835
3836(defun ange-ftp-copy-file (filename newname &optional ok-if-already-exists 3836(defun ange-ftp-copy-file (filename newname &optional ok-if-already-exists
3837 keep-date preserve-uid-gid 3837 keep-date preserve-uid-gid
3838 preserve-selinux-context) 3838 _preserve-selinux-context)
3839 (interactive "fCopy file: \nFCopy %s to file: \np") 3839 (interactive "fCopy file: \nFCopy %s to file: \np")
3840 (ange-ftp-copy-file-internal filename 3840 (ange-ftp-copy-file-internal filename
3841 newname 3841 newname
@@ -4200,7 +4200,7 @@ directory, so that Emacs will know its current contents."
4200 (while (and tryfiles (not copy)) 4200 (while (and tryfiles (not copy))
4201 (catch 'ftp-error 4201 (catch 'ftp-error
4202 (let ((ange-ftp-waiting-flag t)) 4202 (let ((ange-ftp-waiting-flag t))
4203 (condition-case error 4203 (condition-case _error
4204 (setq copy (ange-ftp-file-local-copy (car tryfiles))) 4204 (setq copy (ange-ftp-file-local-copy (car tryfiles)))
4205 (ftp-error nil)))) 4205 (ftp-error nil))))
4206 (setq tryfiles (cdr tryfiles))) 4206 (setq tryfiles (cdr tryfiles)))
@@ -4214,7 +4214,7 @@ directory, so that Emacs will know its current contents."
4214 (ange-ftp-real-load file noerror nomessage nosuffix))) 4214 (ange-ftp-real-load file noerror nomessage nosuffix)))
4215 4215
4216;; Calculate default-unhandled-directory for a given ange-ftp buffer. 4216;; Calculate default-unhandled-directory for a given ange-ftp buffer.
4217(defun ange-ftp-unhandled-file-name-directory (filename) 4217(defun ange-ftp-unhandled-file-name-directory (_filename)
4218 nil) 4218 nil)
4219 4219
4220 4220
@@ -4605,7 +4605,6 @@ NEWNAME should be the name to give the new compressed or uncompressed file.")
4605(defun ange-ftp-shell-command (command &optional output-buffer error-buffer) 4605(defun ange-ftp-shell-command (command &optional output-buffer error-buffer)
4606 (let* ((parsed (ange-ftp-ftp-name default-directory)) 4606 (let* ((parsed (ange-ftp-ftp-name default-directory))
4607 (host (nth 0 parsed)) 4607 (host (nth 0 parsed))
4608 (user (nth 1 parsed))
4609 (name (nth 2 parsed))) 4608 (name (nth 2 parsed)))
4610 (if (not parsed) 4609 (if (not parsed)
4611 (ange-ftp-real-shell-command command output-buffer error-buffer) 4610 (ange-ftp-real-shell-command command output-buffer error-buffer)
@@ -5176,7 +5175,7 @@ Other orders of $ and _ seem to all work just fine.")
5176 ;; versions left. If not, then delete the 5175 ;; versions left. If not, then delete the
5177 ;; root entry. 5176 ;; root entry.
5178 (maphash 5177 (maphash
5179 (lambda (key val) 5178 (lambda (key _val)
5180 (and (string-match regexp key) 5179 (and (string-match regexp key)
5181 (setq versions t))) 5180 (setq versions t)))
5182 files) 5181 files)
@@ -5358,7 +5357,7 @@ Other orders of $ and _ seem to all work just fine.")
5358;; compressed files. Instead, we turn "FILE.TYPE" into 5357;; compressed files. Instead, we turn "FILE.TYPE" into
5359;; "FILE.TYPE-Z". Hope that this is a reasonable thing to do. 5358;; "FILE.TYPE-Z". Hope that this is a reasonable thing to do.
5360 5359
5361(defun ange-ftp-vms-make-compressed-filename (name &optional reverse) 5360(defun ange-ftp-vms-make-compressed-filename (name &optional _reverse)
5362 (cond 5361 (cond
5363 ((string-match "-Z;[0-9]+\\'" name) 5362 ((string-match "-Z;[0-9]+\\'" name)
5364 (list nil (substring name 0 (match-beginning 0)))) 5363 (list nil (substring name 0 (match-beginning 0))))
@@ -5399,7 +5398,7 @@ Other orders of $ and _ seem to all work just fine.")
5399;; (cons '(vms . ange-ftp-dired-vms-ls-trim) 5398;; (cons '(vms . ange-ftp-dired-vms-ls-trim)
5400;; ange-ftp-dired-ls-trim-alist))) 5399;; ange-ftp-dired-ls-trim-alist)))
5401 5400
5402(defun ange-ftp-vms-sans-version (name &rest args) 5401(defun ange-ftp-vms-sans-version (name &rest _args)
5403 (save-match-data 5402 (save-match-data
5404 (if (string-match ";[0-9]+\\'" name) 5403 (if (string-match ";[0-9]+\\'" name)
5405 (substring name 0 (match-beginning 0)) 5404 (substring name 0 (match-beginning 0))
@@ -5920,7 +5919,7 @@ Other orders of $ and _ seem to all work just fine.")
5920;; (cons '(cms . ange-ftp-dired-cms-move-to-end-of-filename) 5919;; (cons '(cms . ange-ftp-dired-cms-move-to-end-of-filename)
5921;; ange-ftp-dired-move-to-end-of-filename-alist))) 5920;; ange-ftp-dired-move-to-end-of-filename-alist)))
5922 5921
5923(defun ange-ftp-cms-make-compressed-filename (name &optional reverse) 5922(defun ange-ftp-cms-make-compressed-filename (name &optional _reverse)
5924 (if (string-match "-Z\\'" name) 5923 (if (string-match "-Z\\'" name)
5925 (list nil (substring name 0 -2)) 5924 (list nil (substring name 0 -2))
5926 (list t (concat name "-Z")))) 5925 (list t (concat name "-Z"))))
diff --git a/lisp/net/browse-url.el b/lisp/net/browse-url.el
index 70173dbc0b3..ff654f23747 100644
--- a/lisp/net/browse-url.el
+++ b/lisp/net/browse-url.el
@@ -868,7 +868,7 @@ to use."
868(defvar dos-windows-version) 868(defvar dos-windows-version)
869(declare-function w32-shell-execute "w32fns.c") ;; Defined in C. 869(declare-function w32-shell-execute "w32fns.c") ;; Defined in C.
870 870
871(defun browse-url-default-windows-browser (url &optional new-window) 871(defun browse-url-default-windows-browser (url &optional _new-window)
872 (interactive (browse-url-interactive-arg "URL: ")) 872 (interactive (browse-url-interactive-arg "URL: "))
873 (cond ((eq system-type 'ms-dos) 873 (cond ((eq system-type 'ms-dos)
874 (if dos-windows-version 874 (if dos-windows-version
@@ -878,7 +878,7 @@ to use."
878 (call-process "cygstart" nil nil nil url)) 878 (call-process "cygstart" nil nil nil url))
879 (t (w32-shell-execute "open" url)))) 879 (t (w32-shell-execute "open" url))))
880 880
881(defun browse-url-default-macosx-browser (url &optional new-window) 881(defun browse-url-default-macosx-browser (url &optional _new-window)
882 (interactive (browse-url-interactive-arg "URL: ")) 882 (interactive (browse-url-interactive-arg "URL: "))
883 (start-process (concat "open " url) nil "open" url)) 883 (start-process (concat "open " url) nil "open" url))
884 884
@@ -933,7 +933,7 @@ used instead of `browse-url-new-window-flag'."
933 ((executable-find browse-url-xterm-program) 'browse-url-text-xterm) 933 ((executable-find browse-url-xterm-program) 'browse-url-text-xterm)
934 ((locate-library "w3") 'browse-url-w3) 934 ((locate-library "w3") 'browse-url-w3)
935 (t 935 (t
936 (lambda (&rest ignore) (error "No usable browser found")))) 936 (lambda (&rest _ignore) (error "No usable browser found"))))
937 url args)) 937 url args))
938 938
939(defun browse-url-can-use-xdg-open () 939(defun browse-url-can-use-xdg-open ()
@@ -1163,7 +1163,7 @@ URL in a new window."
1163 (append browse-url-firefox-startup-arguments (list url)))))) 1163 (append browse-url-firefox-startup-arguments (list url))))))
1164 1164
1165;;;###autoload 1165;;;###autoload
1166(defun browse-url-chromium (url &optional new-window) 1166(defun browse-url-chromium (url &optional _new-window)
1167 "Ask the Chromium WWW browser to load URL. 1167 "Ask the Chromium WWW browser to load URL.
1168Default to the URL around or before point. The strings in 1168Default to the URL around or before point. The strings in
1169variable `browse-url-chromium-arguments' are also passed to 1169variable `browse-url-chromium-arguments' are also passed to
@@ -1272,7 +1272,7 @@ used instead of `browse-url-new-window-flag'."
1272(defvar url-handler-regexp) 1272(defvar url-handler-regexp)
1273 1273
1274;;;###autoload 1274;;;###autoload
1275(defun browse-url-emacs (url &optional new-window) 1275(defun browse-url-emacs (url &optional _new-window)
1276 "Ask Emacs to load URL into a buffer and show it in another window." 1276 "Ask Emacs to load URL into a buffer and show it in another window."
1277 (interactive (browse-url-interactive-arg "URL: ")) 1277 (interactive (browse-url-interactive-arg "URL: "))
1278 (require 'url-handlers) 1278 (require 'url-handlers)
@@ -1413,7 +1413,7 @@ used instead of `browse-url-new-window-flag'."
1413 (w3-fetch url))) 1413 (w3-fetch url)))
1414 1414
1415;;;###autoload 1415;;;###autoload
1416(defun browse-url-w3-gnudoit (url &optional new-window) 1416(defun browse-url-w3-gnudoit (url &optional _new-window)
1417 ;; new-window ignored 1417 ;; new-window ignored
1418 "Ask another Emacs running gnuserv to load the URL using the W3 browser. 1418 "Ask another Emacs running gnuserv to load the URL using the W3 browser.
1419The `browse-url-gnudoit-program' program is used with options given by 1419The `browse-url-gnudoit-program' program is used with options given by
@@ -1428,7 +1428,7 @@ The `browse-url-gnudoit-program' program is used with options given by
1428;; --- Lynx in an xterm --- 1428;; --- Lynx in an xterm ---
1429 1429
1430;;;###autoload 1430;;;###autoload
1431(defun browse-url-text-xterm (url &optional new-window) 1431(defun browse-url-text-xterm (url &optional _new-window)
1432 ;; new-window ignored 1432 ;; new-window ignored
1433 "Ask a text browser to load URL. 1433 "Ask a text browser to load URL.
1434URL defaults to the URL around or before point. 1434URL defaults to the URL around or before point.
@@ -1492,7 +1492,7 @@ used instead of `browse-url-new-window-flag'."
1492 (get-buffer-process buf) 1492 (get-buffer-process buf)
1493 ;; Don't leave around a dead one (especially because of its 1493 ;; Don't leave around a dead one (especially because of its
1494 ;; munged keymap.) 1494 ;; munged keymap.)
1495 (lambda (process event) 1495 (lambda (process _event)
1496 (if (not (memq (process-status process) '(run stop))) 1496 (if (not (memq (process-status process) '(run stop)))
1497 (let ((buf (process-buffer process))) 1497 (let ((buf (process-buffer process)))
1498 (if buf (kill-buffer buf))))))) 1498 (if buf (kill-buffer buf)))))))
@@ -1565,7 +1565,7 @@ used instead of `browse-url-new-window-flag'."
1565;; --- Random browser --- 1565;; --- Random browser ---
1566 1566
1567;;;###autoload 1567;;;###autoload
1568(defun browse-url-generic (url &optional new-window) 1568(defun browse-url-generic (url &optional _new-window)
1569 ;; new-window ignored 1569 ;; new-window ignored
1570 "Ask the WWW browser defined by `browse-url-generic-program' to load URL. 1570 "Ask the WWW browser defined by `browse-url-generic-program' to load URL.
1571Default to the URL around or before point. A fresh copy of the 1571Default to the URL around or before point. A fresh copy of the
@@ -1580,7 +1580,7 @@ don't offer a form of remote control."
1580 (append browse-url-generic-args (list url)))) 1580 (append browse-url-generic-args (list url))))
1581 1581
1582;;;###autoload 1582;;;###autoload
1583(defun browse-url-kde (url &optional new-window) 1583(defun browse-url-kde (url &optional _new-window)
1584 "Ask the KDE WWW browser to load URL. 1584 "Ask the KDE WWW browser to load URL.
1585Default to the URL around or before point." 1585Default to the URL around or before point."
1586 (interactive (browse-url-interactive-arg "KDE URL: ")) 1586 (interactive (browse-url-interactive-arg "KDE URL: "))
diff --git a/lisp/net/dbus.el b/lisp/net/dbus.el
index 0e9c4fc5c76..a05452c430c 100644
--- a/lisp/net/dbus.el
+++ b/lisp/net/dbus.el
@@ -1609,7 +1609,6 @@ and \"org.freedesktop.DBus.Properties.GetAll\", which is slow."
1609It will be registered for all objects created by `dbus-register-method'." 1609It will be registered for all objects created by `dbus-register-method'."
1610 (let* ((last-input-event last-input-event) 1610 (let* ((last-input-event last-input-event)
1611 (bus (dbus-event-bus-name last-input-event)) 1611 (bus (dbus-event-bus-name last-input-event))
1612 (service (dbus-event-service-name last-input-event))
1613 (path (dbus-event-path-name last-input-event))) 1612 (path (dbus-event-path-name last-input-event)))
1614 ;; "GetManagedObjects" returns "a{oa{sa{sv}}}". 1613 ;; "GetManagedObjects" returns "a{oa{sa{sv}}}".
1615 (let (interfaces result) 1614 (let (interfaces result)
@@ -1625,8 +1624,7 @@ It will be registered for all objects created by `dbus-register-method'."
1625 ;; Check all registered object paths. 1624 ;; Check all registered object paths.
1626 (maphash 1625 (maphash
1627 (lambda (key val) 1626 (lambda (key val)
1628 (let ((object (or (nth 2 (car-safe val)) "")) 1627 (let ((object (or (nth 2 (car-safe val)) "")))
1629 (interface (nth 2 key)))
1630 (when (and (equal (butlast key 2) (list :method bus)) 1628 (when (and (equal (butlast key 2) (list :method bus))
1631 (string-prefix-p path object)) 1629 (string-prefix-p path object))
1632 (dolist (interface (cons (nth 2 key) interfaces)) 1630 (dolist (interface (cons (nth 2 key) interfaces))
diff --git a/lisp/net/eudc.el b/lisp/net/eudc.el
index ef09267f854..c474ac9380d 100644
--- a/lisp/net/eudc.el
+++ b/lisp/net/eudc.el
@@ -518,12 +518,12 @@ otherwise they are formatted according to `eudc-user-attribute-names-alist'."
518 precords)) 518 precords))
519 (insert "\n") 519 (insert "\n")
520 (widget-create 'push-button 520 (widget-create 'push-button
521 :notify (lambda (&rest ignore) 521 :notify (lambda (&rest _ignore)
522 (eudc-query-form)) 522 (eudc-query-form))
523 "New query") 523 "New query")
524 (widget-insert " ") 524 (widget-insert " ")
525 (widget-create 'push-button 525 (widget-create 'push-button
526 :notify (lambda (&rest ignore) 526 :notify (lambda (&rest _ignore)
527 (kill-this-buffer)) 527 (kill-this-buffer))
528 "Quit") 528 "Quit")
529 (eudc-mode) 529 (eudc-mode)
@@ -995,17 +995,17 @@ queries the server for the existing fields and displays a corresponding form."
995 fields) 995 fields)
996 (widget-insert "\n\n") 996 (widget-insert "\n\n")
997 (widget-create 'push-button 997 (widget-create 'push-button
998 :notify (lambda (&rest ignore) 998 :notify (lambda (&rest _ignore)
999 (eudc-process-form)) 999 (eudc-process-form))
1000 "Query Server") 1000 "Query Server")
1001 (widget-insert " ") 1001 (widget-insert " ")
1002 (widget-create 'push-button 1002 (widget-create 'push-button
1003 :notify (lambda (&rest ignore) 1003 :notify (lambda (&rest _ignore)
1004 (eudc-query-form)) 1004 (eudc-query-form))
1005 "Reset Form") 1005 "Reset Form")
1006 (widget-insert " ") 1006 (widget-insert " ")
1007 (widget-create 'push-button 1007 (widget-create 'push-button
1008 :notify (lambda (&rest ignore) 1008 :notify (lambda (&rest _ignore)
1009 (kill-this-buffer)) 1009 (kill-this-buffer))
1010 "Quit") 1010 "Quit")
1011 (goto-char pt) 1011 (goto-char pt)
diff --git a/lisp/net/eudcb-ldap.el b/lisp/net/eudcb-ldap.el
index d0ba47ad753..a678ec3ab42 100644
--- a/lisp/net/eudcb-ldap.el
+++ b/lisp/net/eudcb-ldap.el
@@ -136,7 +136,7 @@ RETURN-ATTRS is a list of attributes to return, defaulting to
136 result)) 136 result))
137 final-result)) 137 final-result))
138 138
139(defun eudc-ldap-get-field-list (dummy &optional objectclass) 139(defun eudc-ldap-get-field-list (_dummy &optional objectclass)
140 "Return a list of valid attribute names for the current server. 140 "Return a list of valid attribute names for the current server.
141OBJECTCLASS is the LDAP object class for which the valid 141OBJECTCLASS is the LDAP object class for which the valid
142attribute names are returned. Default to `person'" 142attribute names are returned. Default to `person'"
diff --git a/lisp/net/eww.el b/lisp/net/eww.el
index 8b4dd2eed5f..6cf4ff2c9bf 100644
--- a/lisp/net/eww.el
+++ b/lisp/net/eww.el
@@ -381,7 +381,7 @@ word(s) will be searched for via `eww-search-prefix'."
381 eww-history)) 381 eww-history))
382 382
383;;;###autoload 383;;;###autoload
384(defun eww-browse-url (url &optional new-window) 384(defun eww-browse-url (url &optional _new-window)
385 (when (and (equal major-mode 'eww-mode) 385 (when (and (equal major-mode 'eww-mode)
386 eww-current-url) 386 eww-current-url)
387 (eww-save-history)) 387 (eww-save-history))
diff --git a/lisp/net/imap.el b/lisp/net/imap.el
index 9584ceb24d0..256af723861 100644
--- a/lisp/net/imap.el
+++ b/lisp/net/imap.el
@@ -139,7 +139,7 @@
139(eval-when-compile (require 'cl)) 139(eval-when-compile (require 'cl))
140(eval-and-compile 140(eval-and-compile
141 ;; For Emacs <22.2 and XEmacs. 141 ;; For Emacs <22.2 and XEmacs.
142 (unless (fboundp 'declare-function) (defmacro declare-function (&rest r))) 142 (unless (fboundp 'declare-function) (defmacro declare-function (&rest _r)))
143 (autoload 'starttls-open-stream "starttls") 143 (autoload 'starttls-open-stream "starttls")
144 (autoload 'starttls-negotiate "starttls") 144 (autoload 'starttls-negotiate "starttls")
145 (autoload 'sasl-find-mechanism "sasl") 145 (autoload 'sasl-find-mechanism "sasl")
@@ -661,7 +661,7 @@ sure of changing the value of `foo'."
661 nil))))) 661 nil)))))
662 done)) 662 done))
663 663
664(defun imap-ssl-p (buffer) 664(defun imap-ssl-p (_buffer)
665 nil) 665 nil)
666 666
667(defun imap-ssl-open (name buffer server port) 667(defun imap-ssl-open (name buffer server port)
@@ -711,7 +711,7 @@ sure of changing the value of `foo'."
711 (message "imap: Opening SSL connection with `%s'...failed" cmd) 711 (message "imap: Opening SSL connection with `%s'...failed" cmd)
712 nil))) 712 nil)))
713 713
714(defun imap-tls-p (buffer) 714(defun imap-tls-p (_buffer)
715 nil) 715 nil)
716 716
717(defun imap-tls-open (name buffer server port) 717(defun imap-tls-open (name buffer server port)
@@ -738,7 +738,7 @@ sure of changing the value of `foo'."
738 (when (memq (process-status process) '(open run)) 738 (when (memq (process-status process) '(open run))
739 process)))) 739 process))))
740 740
741(defun imap-network-p (buffer) 741(defun imap-network-p (_buffer)
742 t) 742 t)
743 743
744(defun imap-network-open (name buffer server port) 744(defun imap-network-open (name buffer server port)
@@ -757,7 +757,7 @@ sure of changing the value of `foo'."
757 (when (memq (process-status process) '(open run)) 757 (when (memq (process-status process) '(open run))
758 process)))) 758 process))))
759 759
760(defun imap-shell-p (buffer) 760(defun imap-shell-p (_buffer)
761 nil) 761 nil)
762 762
763(defun imap-shell-open (name buffer server port) 763(defun imap-shell-open (name buffer server port)
@@ -881,10 +881,10 @@ t if it successfully authenticates, nil otherwise."
881 ;; passwd nil)))) 881 ;; passwd nil))))
882 ret))) 882 ret)))
883 883
884(defun imap-gssapi-auth-p (buffer) 884(defun imap-gssapi-auth-p (_buffer)
885 (eq imap-stream 'gssapi)) 885 (eq imap-stream 'gssapi))
886 886
887(defun imap-gssapi-auth (buffer) 887(defun imap-gssapi-auth (_buffer)
888 (message "imap: Authenticating using GSSAPI...%s" 888 (message "imap: Authenticating using GSSAPI...%s"
889 (if (eq imap-stream 'gssapi) "done" "failed")) 889 (if (eq imap-stream 'gssapi) "done" "failed"))
890 (eq imap-stream 'gssapi)) 890 (eq imap-stream 'gssapi))
@@ -893,7 +893,7 @@ t if it successfully authenticates, nil otherwise."
893 (and (imap-capability 'AUTH=KERBEROS_V4 buffer) 893 (and (imap-capability 'AUTH=KERBEROS_V4 buffer)
894 (eq imap-stream 'kerberos4))) 894 (eq imap-stream 'kerberos4)))
895 895
896(defun imap-kerberos4-auth (buffer) 896(defun imap-kerberos4-auth (_buffer)
897 (message "imap: Authenticating using Kerberos 4...%s" 897 (message "imap: Authenticating using Kerberos 4...%s"
898 (if (eq imap-stream 'kerberos4) "done" "failed")) 898 (if (eq imap-stream 'kerberos4) "done" "failed"))
899 (eq imap-stream 'kerberos4)) 899 (eq imap-stream 'kerberos4))
@@ -947,7 +947,7 @@ t if it successfully authenticates, nil otherwise."
947 (imap-quote-specials passwd) 947 (imap-quote-specials passwd)
948 "\"")))))) 948 "\""))))))
949 949
950(defun imap-anonymous-p (buffer) 950(defun imap-anonymous-p (_buffer)
951 t) 951 t)
952 952
953(defun imap-anonymous-auth (buffer) 953(defun imap-anonymous-auth (buffer)
@@ -1838,7 +1838,7 @@ See `imap-enable-exchange-bug-workaround'."
1838 (and (imap-fetch-safe '("*" . "*:*") "UID") 1838 (and (imap-fetch-safe '("*" . "*:*") "UID")
1839 (list (imap-mailbox-get-1 'uidvalidity mailbox) 1839 (list (imap-mailbox-get-1 'uidvalidity mailbox)
1840 (apply 'max (imap-message-map 1840 (apply 'max (imap-message-map
1841 (lambda (uid prop) uid) 'UID)))) 1841 (lambda (uid _prop) uid) 'UID))))
1842 (if old-mailbox 1842 (if old-mailbox
1843 (imap-mailbox-select old-mailbox (eq state 'examine)) 1843 (imap-mailbox-select old-mailbox (eq state 'examine))
1844 (imap-mailbox-unselect))))))) 1844 (imap-mailbox-unselect)))))))
@@ -1884,7 +1884,7 @@ first element. The rest of list contains the saved articles' UIDs."
1884 (and (imap-fetch-safe '("*" . "*:*") "UID") 1884 (and (imap-fetch-safe '("*" . "*:*") "UID")
1885 (list (imap-mailbox-get-1 'uidvalidity mailbox) 1885 (list (imap-mailbox-get-1 'uidvalidity mailbox)
1886 (apply 'max (imap-message-map 1886 (apply 'max (imap-message-map
1887 (lambda (uid prop) uid) 'UID)))) 1887 (lambda (uid _prop) uid) 'UID))))
1888 (if old-mailbox 1888 (if old-mailbox
1889 (imap-mailbox-select old-mailbox (eq state 'examine)) 1889 (imap-mailbox-select old-mailbox (eq state 'examine))
1890 (imap-mailbox-unselect))))))) 1890 (imap-mailbox-unselect)))))))
@@ -1893,7 +1893,7 @@ first element. The rest of list contains the saved articles' UIDs."
1893 (with-current-buffer (or buffer (current-buffer)) 1893 (with-current-buffer (or buffer (current-buffer))
1894 (imap-message-appenduid-1 (imap-utf7-encode mailbox)))) 1894 (imap-message-appenduid-1 (imap-utf7-encode mailbox))))
1895 1895
1896(defun imap-message-append (mailbox article &optional flags date-time buffer) 1896(defun imap-message-append (mailbox article &optional _flags _date-time buffer)
1897 "Append ARTICLE (a buffer) to MAILBOX on server in BUFFER. 1897 "Append ARTICLE (a buffer) to MAILBOX on server in BUFFER.
1898FLAGS and DATE-TIME is currently not used. Return a cons holding 1898FLAGS and DATE-TIME is currently not used. Return a cons holding
1899uidvalidity of MAILBOX and UID the newly created article got, or nil 1899uidvalidity of MAILBOX and UID the newly created article got, or nil