diff options
| author | Daniel Hackney | 2013-09-04 23:30:07 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2013-09-04 23:30:07 -0400 |
| commit | 6c42fc3efbbf590fca00b866859fbfa13d34b70a (patch) | |
| tree | 0519b227a10215d99c1bc1373130c993ff93c623 | |
| parent | 4c528aabaa750d9a4e739dde482b307b734dcd62 (diff) | |
| download | emacs-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.
| -rw-r--r-- | lisp/ChangeLog | 23 | ||||
| -rw-r--r-- | lisp/dired-x.el | 2 | ||||
| -rw-r--r-- | lisp/net/ange-ftp.el | 17 | ||||
| -rw-r--r-- | lisp/net/browse-url.el | 20 | ||||
| -rw-r--r-- | lisp/net/dbus.el | 4 | ||||
| -rw-r--r-- | lisp/net/eudc.el | 10 | ||||
| -rw-r--r-- | lisp/net/eudcb-ldap.el | 2 | ||||
| -rw-r--r-- | lisp/net/eww.el | 2 | ||||
| -rw-r--r-- | lisp/net/imap.el | 24 | ||||
| -rw-r--r-- | lisp/printing.el | 58 | ||||
| -rw-r--r-- | lisp/vc/ediff-diff.el | 4 | ||||
| -rw-r--r-- | lisp/vc/ediff-init.el | 4 | ||||
| -rw-r--r-- | lisp/vc/ediff-merg.el | 4 | ||||
| -rw-r--r-- | lisp/vc/ediff-mult.el | 4 | ||||
| -rw-r--r-- | lisp/vc/ediff-util.el | 6 | ||||
| -rw-r--r-- | lisp/vc/ediff-wind.el | 10 | ||||
| -rw-r--r-- | lisp/vc/ediff.el | 2 | ||||
| -rw-r--r-- | lisp/vc/emerge.el | 6 | ||||
| -rw-r--r-- | lisp/vc/pcvs.el | 6 |
19 files changed, 114 insertions, 94 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 9633fc29c30..9619f9fc865 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,26 @@ | |||
| 1 | 2013-09-05 Daniel Hackney <dan@haxney.org> | ||
| 2 | |||
| 3 | * dired-x.el: | ||
| 4 | * net/ange-ftp.el: | ||
| 5 | * net/browse-url.el: | ||
| 6 | * net/dbus.el: | ||
| 7 | * net/eudc.el: | ||
| 8 | * net/eudcb-ldap.el: | ||
| 9 | * net/eww.el: | ||
| 10 | * net/imap.el: | ||
| 11 | * printing.el: | ||
| 12 | * vc/ediff-diff.el: | ||
| 13 | * vc/ediff-init.el: | ||
| 14 | * vc/ediff-merg.el: | ||
| 15 | * vc/ediff-mult.el: | ||
| 16 | * vc/ediff-util.el: | ||
| 17 | * vc/ediff-wind.el: | ||
| 18 | * vc/ediff.el: | ||
| 19 | * vc/emerge.el: | ||
| 20 | * vc/pcvs.el: | ||
| 21 | * vc/vc-annotate.el: Prefix unused arguments with `_' to silence | ||
| 22 | byte compiler. Remove some unused let-bound variables. | ||
| 23 | |||
| 1 | 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca> | 24 | 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 25 | ||
| 3 | * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access | 26 | * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access |
diff --git a/lisp/dired-x.el b/lisp/dired-x.el index 0c432593909..3527a3fc756 100644 --- a/lisp/dired-x.el +++ b/lisp/dired-x.el | |||
| @@ -1185,7 +1185,7 @@ results in | |||
| 1185 | (setq count (1+ count) | 1185 | (setq count (1+ count) |
| 1186 | start (1+ start))) | 1186 | start (1+ start))) |
| 1187 | ;; ... and prepend a "../" for each slash found: | 1187 | ;; ... and prepend a "../" for each slash found: |
| 1188 | (dotimes (_n count) | 1188 | (dotimes (n count) |
| 1189 | (setq name1 (concat "../" name1))))) | 1189 | (setq name1 (concat "../" name1))))) |
| 1190 | (make-symbolic-link | 1190 | (make-symbolic-link |
| 1191 | (directory-file-name name1) ; must not link to foo/ | 1191 | (directory-file-name name1) ; must not link to foo/ |
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. |
| 1168 | Default to the URL around or before point. The strings in | 1168 | Default to the URL around or before point. The strings in |
| 1169 | variable `browse-url-chromium-arguments' are also passed to | 1169 | variable `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. |
| 1419 | The `browse-url-gnudoit-program' program is used with options given by | 1419 | The `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. |
| 1434 | URL defaults to the URL around or before point. | 1434 | URL 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. |
| 1571 | Default to the URL around or before point. A fresh copy of the | 1571 | Default 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. |
| 1585 | Default to the URL around or before point." | 1585 | Default 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." | |||
| 1609 | It will be registered for all objects created by `dbus-register-method'." | 1609 | It 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. |
| 141 | OBJECTCLASS is the LDAP object class for which the valid | 141 | OBJECTCLASS is the LDAP object class for which the valid |
| 142 | attribute names are returned. Default to `person'" | 142 | attribute 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. |
| 1898 | FLAGS and DATE-TIME is currently not used. Return a cons holding | 1898 | FLAGS and DATE-TIME is currently not used. Return a cons holding |
| 1899 | uidvalidity of MAILBOX and UID the newly created article got, or nil | 1899 | uidvalidity of MAILBOX and UID the newly created article got, or nil |
diff --git a/lisp/printing.el b/lisp/printing.el index 2c807b078f5..e814c3a06f2 100644 --- a/lisp/printing.el +++ b/lisp/printing.el | |||
| @@ -4627,21 +4627,21 @@ bottom." | |||
| 4627 | 4627 | ||
| 4628 | 4628 | ||
| 4629 | ;;;###autoload | 4629 | ;;;###autoload |
| 4630 | (defun pr-customize (&rest ignore) | 4630 | (defun pr-customize (&rest _ignore) |
| 4631 | "Customization of the `printing' group." | 4631 | "Customization of the `printing' group." |
| 4632 | (interactive) | 4632 | (interactive) |
| 4633 | (customize-group 'printing)) | 4633 | (customize-group 'printing)) |
| 4634 | 4634 | ||
| 4635 | 4635 | ||
| 4636 | ;;;###autoload | 4636 | ;;;###autoload |
| 4637 | (defun lpr-customize (&rest ignore) | 4637 | (defun lpr-customize (&rest _ignore) |
| 4638 | "Customization of the `lpr' group." | 4638 | "Customization of the `lpr' group." |
| 4639 | (interactive) | 4639 | (interactive) |
| 4640 | (customize-group 'lpr)) | 4640 | (customize-group 'lpr)) |
| 4641 | 4641 | ||
| 4642 | 4642 | ||
| 4643 | ;;;###autoload | 4643 | ;;;###autoload |
| 4644 | (defun pr-help (&rest ignore) | 4644 | (defun pr-help (&rest _ignore) |
| 4645 | "Help for the printing package." | 4645 | "Help for the printing package." |
| 4646 | (interactive) | 4646 | (interactive) |
| 4647 | (pr-show-setup pr-help-message "*Printing Help*")) | 4647 | (pr-show-setup pr-help-message "*Printing Help*")) |
| @@ -4675,21 +4675,21 @@ bottom." | |||
| 4675 | 4675 | ||
| 4676 | 4676 | ||
| 4677 | ;;;###autoload | 4677 | ;;;###autoload |
| 4678 | (defun pr-show-ps-setup (&rest ignore) | 4678 | (defun pr-show-ps-setup (&rest _ignore) |
| 4679 | "Show current ps-print settings." | 4679 | "Show current ps-print settings." |
| 4680 | (interactive) | 4680 | (interactive) |
| 4681 | (pr-show-setup (ps-setup) "*PS Setup*")) | 4681 | (pr-show-setup (ps-setup) "*PS Setup*")) |
| 4682 | 4682 | ||
| 4683 | 4683 | ||
| 4684 | ;;;###autoload | 4684 | ;;;###autoload |
| 4685 | (defun pr-show-pr-setup (&rest ignore) | 4685 | (defun pr-show-pr-setup (&rest _ignore) |
| 4686 | "Show current printing settings." | 4686 | "Show current printing settings." |
| 4687 | (interactive) | 4687 | (interactive) |
| 4688 | (pr-show-setup (pr-setup) "*PR Setup*")) | 4688 | (pr-show-setup (pr-setup) "*PR Setup*")) |
| 4689 | 4689 | ||
| 4690 | 4690 | ||
| 4691 | ;;;###autoload | 4691 | ;;;###autoload |
| 4692 | (defun pr-show-lpr-setup (&rest ignore) | 4692 | (defun pr-show-lpr-setup (&rest _ignore) |
| 4693 | "Show current lpr settings." | 4693 | "Show current lpr settings." |
| 4694 | (interactive) | 4694 | (interactive) |
| 4695 | (pr-show-setup (lpr-setup) "*LPR Setup*")) | 4695 | (pr-show-setup (lpr-setup) "*LPR Setup*")) |
| @@ -6125,7 +6125,7 @@ COMMAND.exe, COMMAND.bat and COMMAND.com in this order." | |||
| 6125 | (pr-insert-checkbox | 6125 | (pr-insert-checkbox |
| 6126 | "\n " | 6126 | "\n " |
| 6127 | 'pr-i-region | 6127 | 'pr-i-region |
| 6128 | #'(lambda (widget &rest ignore) | 6128 | #'(lambda (widget &rest _ignore) |
| 6129 | (let ((region-p (pr-interface-save | 6129 | (let ((region-p (pr-interface-save |
| 6130 | (ps-mark-active-p)))) | 6130 | (ps-mark-active-p)))) |
| 6131 | (cond ((null (widget-value widget)) ; widget is nil | 6131 | (cond ((null (widget-value widget)) ; widget is nil |
| @@ -6146,7 +6146,7 @@ COMMAND.exe, COMMAND.bat and COMMAND.com in this order." | |||
| 6146 | (pr-insert-checkbox | 6146 | (pr-insert-checkbox |
| 6147 | " " | 6147 | " " |
| 6148 | 'pr-i-mode | 6148 | 'pr-i-mode |
| 6149 | #'(lambda (widget &rest ignore) | 6149 | #'(lambda (widget &rest _ignore) |
| 6150 | (let ((mode-p (pr-interface-save | 6150 | (let ((mode-p (pr-interface-save |
| 6151 | (pr-mode-alist-p)))) | 6151 | (pr-mode-alist-p)))) |
| 6152 | (cond | 6152 | (cond |
| @@ -6182,7 +6182,7 @@ COMMAND.exe, COMMAND.bat and COMMAND.com in this order." | |||
| 6182 | (widget-create 'regexp | 6182 | (widget-create 'regexp |
| 6183 | :size 58 | 6183 | :size 58 |
| 6184 | :format "\n File Regexp : %v\n" | 6184 | :format "\n File Regexp : %v\n" |
| 6185 | :notify (lambda (widget &rest ignore) | 6185 | :notify (lambda (widget &rest _ignore) |
| 6186 | (setq pr-i-regexp (widget-value widget))) | 6186 | (setq pr-i-regexp (widget-value widget))) |
| 6187 | pr-i-regexp) | 6187 | pr-i-regexp) |
| 6188 | ;; 1b. Directory: List Directory Entry | 6188 | ;; 1b. Directory: List Directory Entry |
| @@ -6222,7 +6222,7 @@ COMMAND.exe, COMMAND.bat and COMMAND.com in this order." | |||
| 6222 | (pr-insert-checkbox | 6222 | (pr-insert-checkbox |
| 6223 | " " | 6223 | " " |
| 6224 | 'pr-i-despool | 6224 | 'pr-i-despool |
| 6225 | #'(lambda (widget &rest ignore) | 6225 | #'(lambda (widget &rest _ignore) |
| 6226 | (if pr-spool-p | 6226 | (if pr-spool-p |
| 6227 | (setq pr-i-despool (not pr-i-despool)) | 6227 | (setq pr-i-despool (not pr-i-despool)) |
| 6228 | (ding) | 6228 | (ding) |
| @@ -6259,7 +6259,7 @@ COMMAND.exe, COMMAND.bat and COMMAND.com in this order." | |||
| 6259 | 'integer | 6259 | 'integer |
| 6260 | :size 3 | 6260 | :size 3 |
| 6261 | :format "\n N-Up : %v" | 6261 | :format "\n N-Up : %v" |
| 6262 | :notify (lambda (widget &rest ignore) | 6262 | :notify (lambda (widget &rest _ignore) |
| 6263 | (let ((value (if (string= (widget-apply widget :value-get) "") | 6263 | (let ((value (if (string= (widget-apply widget :value-get) "") |
| 6264 | 0 | 6264 | 0 |
| 6265 | (widget-value widget)))) | 6265 | (widget-value widget)))) |
| @@ -6288,7 +6288,7 @@ COMMAND.exe, COMMAND.bat and COMMAND.com in this order." | |||
| 6288 | ;; 4. Settings: | 6288 | ;; 4. Settings: |
| 6289 | ;; 4. Settings: Landscape Auto Region Verbose | 6289 | ;; 4. Settings: Landscape Auto Region Verbose |
| 6290 | (pr-insert-checkbox "\n\n " 'ps-landscape-mode | 6290 | (pr-insert-checkbox "\n\n " 'ps-landscape-mode |
| 6291 | #'(lambda (&rest ignore) | 6291 | #'(lambda (&rest _ignore) |
| 6292 | (setq ps-landscape-mode (not ps-landscape-mode) | 6292 | (setq ps-landscape-mode (not ps-landscape-mode) |
| 6293 | pr-file-landscape ps-landscape-mode)) | 6293 | pr-file-landscape ps-landscape-mode)) |
| 6294 | " Landscape ") | 6294 | " Landscape ") |
| @@ -6310,7 +6310,7 @@ COMMAND.exe, COMMAND.bat and COMMAND.com in this order." | |||
| 6310 | (pr-insert-toggle 'ps-zebra-stripes " Zebra Stripes") | 6310 | (pr-insert-toggle 'ps-zebra-stripes " Zebra Stripes") |
| 6311 | (pr-insert-checkbox " " | 6311 | (pr-insert-checkbox " " |
| 6312 | 'pr-spool-p | 6312 | 'pr-spool-p |
| 6313 | #'(lambda (&rest ignore) | 6313 | #'(lambda (&rest _ignore) |
| 6314 | (setq pr-spool-p (not pr-spool-p)) | 6314 | (setq pr-spool-p (not pr-spool-p)) |
| 6315 | (unless pr-spool-p | 6315 | (unless pr-spool-p |
| 6316 | (setq pr-i-despool nil) | 6316 | (setq pr-i-despool nil) |
| @@ -6320,7 +6320,7 @@ COMMAND.exe, COMMAND.bat and COMMAND.com in this order." | |||
| 6320 | ;; 4. Settings: Duplex Print with faces | 6320 | ;; 4. Settings: Duplex Print with faces |
| 6321 | (pr-insert-checkbox "\n " | 6321 | (pr-insert-checkbox "\n " |
| 6322 | 'ps-spool-duplex | 6322 | 'ps-spool-duplex |
| 6323 | #'(lambda (&rest ignore) | 6323 | #'(lambda (&rest _ignore) |
| 6324 | (setq ps-spool-duplex (not ps-spool-duplex) | 6324 | (setq ps-spool-duplex (not ps-spool-duplex) |
| 6325 | pr-file-duplex ps-spool-duplex)) | 6325 | pr-file-duplex ps-spool-duplex)) |
| 6326 | " Duplex ") | 6326 | " Duplex ") |
| @@ -6329,7 +6329,7 @@ COMMAND.exe, COMMAND.bat and COMMAND.com in this order." | |||
| 6329 | ;; 4. Settings: Tumble Print via Ghostscript | 6329 | ;; 4. Settings: Tumble Print via Ghostscript |
| 6330 | (pr-insert-checkbox "\n " | 6330 | (pr-insert-checkbox "\n " |
| 6331 | 'ps-spool-tumble | 6331 | 'ps-spool-tumble |
| 6332 | #'(lambda (&rest ignore) | 6332 | #'(lambda (&rest _ignore) |
| 6333 | (setq ps-spool-tumble (not ps-spool-tumble) | 6333 | (setq ps-spool-tumble (not ps-spool-tumble) |
| 6334 | pr-file-tumble ps-spool-tumble)) | 6334 | pr-file-tumble ps-spool-tumble)) |
| 6335 | " Tumble ") | 6335 | " Tumble ") |
| @@ -6352,7 +6352,7 @@ COMMAND.exe, COMMAND.bat and COMMAND.com in this order." | |||
| 6352 | ;; 5. Customize: | 6352 | ;; 5. Customize: |
| 6353 | (pr-insert-italic "\n\nCustomize : " 2 11) | 6353 | (pr-insert-italic "\n\nCustomize : " 2 11) |
| 6354 | (pr-insert-button 'pr-customize "printing" " ") | 6354 | (pr-insert-button 'pr-customize "printing" " ") |
| 6355 | (pr-insert-button #'(lambda (&rest ignore) (ps-print-customize)) | 6355 | (pr-insert-button #'(lambda (&rest _ignore) (ps-print-customize)) |
| 6356 | "ps-print" " ") | 6356 | "ps-print" " ") |
| 6357 | (pr-insert-button 'lpr-customize "lpr")) | 6357 | (pr-insert-button 'lpr-customize "lpr")) |
| 6358 | 6358 | ||
| @@ -6374,7 +6374,7 @@ COMMAND.exe, COMMAND.bat and COMMAND.com in this order." | |||
| 6374 | (pr-insert-button 'pr-kill-help "Kill All Printing Help Buffer")) | 6374 | (pr-insert-button 'pr-kill-help "Kill All Printing Help Buffer")) |
| 6375 | 6375 | ||
| 6376 | 6376 | ||
| 6377 | (defun pr-kill-help (&rest ignore) | 6377 | (defun pr-kill-help (&rest _ignore) |
| 6378 | "Kill all printing help buffer." | 6378 | "Kill all printing help buffer." |
| 6379 | (interactive) | 6379 | (interactive) |
| 6380 | (let ((help '("*Printing Interface Help*" "*Printing Help*" | 6380 | (let ((help '("*Printing Interface Help*" "*Printing Help*" |
| @@ -6388,20 +6388,20 @@ COMMAND.exe, COMMAND.bat and COMMAND.com in this order." | |||
| 6388 | (recenter (- (window-height) 2))) | 6388 | (recenter (- (window-height) 2))) |
| 6389 | 6389 | ||
| 6390 | 6390 | ||
| 6391 | (defun pr-interface-quit (&rest ignore) | 6391 | (defun pr-interface-quit (&rest _ignore) |
| 6392 | "Kill the printing buffer interface and quit." | 6392 | "Kill the printing buffer interface and quit." |
| 6393 | (interactive) | 6393 | (interactive) |
| 6394 | (kill-buffer pr-buffer-name) | 6394 | (kill-buffer pr-buffer-name) |
| 6395 | (set-window-configuration pr-i-window-configuration)) | 6395 | (set-window-configuration pr-i-window-configuration)) |
| 6396 | 6396 | ||
| 6397 | 6397 | ||
| 6398 | (defun pr-interface-help (&rest ignore) | 6398 | (defun pr-interface-help (&rest _ignore) |
| 6399 | "printing buffer interface help." | 6399 | "printing buffer interface help." |
| 6400 | (interactive) | 6400 | (interactive) |
| 6401 | (pr-show-setup pr-interface-help-message "*Printing Interface Help*")) | 6401 | (pr-show-setup pr-interface-help-message "*Printing Interface Help*")) |
| 6402 | 6402 | ||
| 6403 | 6403 | ||
| 6404 | (defun pr-interface-txt-print (&rest ignore) | 6404 | (defun pr-interface-txt-print (&rest _ignore) |
| 6405 | "Print using lpr package." | 6405 | "Print using lpr package." |
| 6406 | (interactive) | 6406 | (interactive) |
| 6407 | (condition-case data | 6407 | (condition-case data |
| @@ -6433,7 +6433,7 @@ COMMAND.exe, COMMAND.bat and COMMAND.com in this order." | |||
| 6433 | (message "%s" (error-message-string data))))) | 6433 | (message "%s" (error-message-string data))))) |
| 6434 | 6434 | ||
| 6435 | 6435 | ||
| 6436 | (defun pr-interface-printify (&rest ignore) | 6436 | (defun pr-interface-printify (&rest _ignore) |
| 6437 | "Printify a buffer." | 6437 | "Printify a buffer." |
| 6438 | (interactive) | 6438 | (interactive) |
| 6439 | (condition-case data | 6439 | (condition-case data |
| @@ -6458,7 +6458,7 @@ COMMAND.exe, COMMAND.bat and COMMAND.com in this order." | |||
| 6458 | (message "%s" (error-message-string data))))) | 6458 | (message "%s" (error-message-string data))))) |
| 6459 | 6459 | ||
| 6460 | 6460 | ||
| 6461 | (defun pr-interface-ps-print (&rest ignore) | 6461 | (defun pr-interface-ps-print (&rest _ignore) |
| 6462 | "Print using ps-print package." | 6462 | "Print using ps-print package." |
| 6463 | (interactive) | 6463 | (interactive) |
| 6464 | (pr-interface-ps 'pr-despool-ps-print 'pr-ps-directory-ps-print | 6464 | (pr-interface-ps 'pr-despool-ps-print 'pr-ps-directory-ps-print |
| @@ -6467,7 +6467,7 @@ COMMAND.exe, COMMAND.bat and COMMAND.com in this order." | |||
| 6467 | 'pr-ps-buffer-ps-print)) | 6467 | 'pr-ps-buffer-ps-print)) |
| 6468 | 6468 | ||
| 6469 | 6469 | ||
| 6470 | (defun pr-interface-preview (&rest ignore) | 6470 | (defun pr-interface-preview (&rest _ignore) |
| 6471 | "Preview a PostScript file." | 6471 | "Preview a PostScript file." |
| 6472 | (interactive) | 6472 | (interactive) |
| 6473 | (pr-interface-ps 'pr-despool-preview 'pr-ps-directory-preview | 6473 | (pr-interface-ps 'pr-despool-preview 'pr-ps-directory-preview |
| @@ -6548,7 +6548,7 @@ COMMAND.exe, COMMAND.bat and COMMAND.com in this order." | |||
| 6548 | (error "Please specify be a readable directory"))) | 6548 | (error "Please specify be a readable directory"))) |
| 6549 | 6549 | ||
| 6550 | 6550 | ||
| 6551 | (defun pr-interface-directory (widget &rest ignore) | 6551 | (defun pr-interface-directory (widget &rest _ignore) |
| 6552 | (and pr-buffer-verbose | 6552 | (and pr-buffer-verbose |
| 6553 | (message "You can use M-TAB or ESC TAB for file completion")) | 6553 | (message "You can use M-TAB or ESC TAB for file completion")) |
| 6554 | (let ((dir (widget-value widget))) | 6554 | (let ((dir (widget-value widget))) |
| @@ -6557,7 +6557,7 @@ COMMAND.exe, COMMAND.bat and COMMAND.com in this order." | |||
| 6557 | (setq pr-i-directory dir)))) | 6557 | (setq pr-i-directory dir)))) |
| 6558 | 6558 | ||
| 6559 | 6559 | ||
| 6560 | (defun pr-interface-infile (widget &rest ignore) | 6560 | (defun pr-interface-infile (widget &rest _ignore) |
| 6561 | (and pr-buffer-verbose | 6561 | (and pr-buffer-verbose |
| 6562 | (message "You can use M-TAB or ESC TAB for file completion")) | 6562 | (message "You can use M-TAB or ESC TAB for file completion")) |
| 6563 | (let ((file (widget-value widget))) | 6563 | (let ((file (widget-value widget))) |
| @@ -6566,7 +6566,7 @@ COMMAND.exe, COMMAND.bat and COMMAND.com in this order." | |||
| 6566 | (setq pr-i-ps-file file)))) | 6566 | (setq pr-i-ps-file file)))) |
| 6567 | 6567 | ||
| 6568 | 6568 | ||
| 6569 | (defun pr-interface-outfile (widget &rest ignore) | 6569 | (defun pr-interface-outfile (widget &rest _ignore) |
| 6570 | (setq pr-i-answer-yes nil) | 6570 | (setq pr-i-answer-yes nil) |
| 6571 | (and pr-buffer-verbose | 6571 | (and pr-buffer-verbose |
| 6572 | (message "You can use M-TAB or ESC TAB for file completion")) | 6572 | (message "You can use M-TAB or ESC TAB for file completion")) |
| @@ -6602,7 +6602,7 @@ COMMAND.exe, COMMAND.bat and COMMAND.com in this order." | |||
| 6602 | 6602 | ||
| 6603 | (defun pr-insert-toggle (var-sym label) | 6603 | (defun pr-insert-toggle (var-sym label) |
| 6604 | (widget-create 'checkbox | 6604 | (widget-create 'checkbox |
| 6605 | :notify `(lambda (&rest ignore) | 6605 | :notify `(lambda (&rest _ignore) |
| 6606 | (setq ,var-sym (not ,var-sym))) | 6606 | (setq ,var-sym (not ,var-sym))) |
| 6607 | (symbol-value var-sym)) | 6607 | (symbol-value var-sym)) |
| 6608 | (widget-insert label)) | 6608 | (widget-insert label)) |
| @@ -6623,7 +6623,7 @@ COMMAND.exe, COMMAND.bat and COMMAND.com in this order." | |||
| 6623 | :format "%v" | 6623 | :format "%v" |
| 6624 | :inline t | 6624 | :inline t |
| 6625 | :value ,var-sym | 6625 | :value ,var-sym |
| 6626 | :notify (lambda (widget &rest ignore) | 6626 | :notify (lambda (widget &rest _ignore) |
| 6627 | (setq ,var-sym (widget-value widget)) | 6627 | (setq ,var-sym (widget-value widget)) |
| 6628 | ,@body) | 6628 | ,@body) |
| 6629 | :void '(choice-item :format "%[%t%]" | 6629 | :void '(choice-item :format "%[%t%]" |
| @@ -6639,7 +6639,7 @@ COMMAND.exe, COMMAND.bat and COMMAND.com in this order." | |||
| 6639 | 'radio-button | 6639 | 'radio-button |
| 6640 | :format " %[%v%]" | 6640 | :format " %[%v%]" |
| 6641 | :value (eq ,var-sym (quote ,sym)) | 6641 | :value (eq ,var-sym (quote ,sym)) |
| 6642 | :notify (lambda (&rest ignore) | 6642 | :notify (lambda (&rest _ignore) |
| 6643 | (setq ,var-sym (quote ,sym)) | 6643 | (setq ,var-sym (quote ,sym)) |
| 6644 | (pr-update-radio-button (quote ,var-sym))))))) | 6644 | (pr-update-radio-button (quote ,var-sym))))))) |
| 6645 | (put var-sym 'pr-widget-list (cons (cons wid sym) wid-list)))) | 6645 | (put var-sym 'pr-widget-list (cons (cons wid sym) wid-list)))) |
diff --git a/lisp/vc/ediff-diff.el b/lisp/vc/ediff-diff.el index 3e64250d1a7..3f0ef3a7a61 100644 --- a/lisp/vc/ediff-diff.el +++ b/lisp/vc/ediff-diff.el | |||
| @@ -211,7 +211,7 @@ one optional arguments, diff-number to refine.") | |||
| 211 | ;; ediff-setup-diff-regions is called via a funcall to | 211 | ;; ediff-setup-diff-regions is called via a funcall to |
| 212 | ;; ediff-setup-diff-regions-function, which can also have the value | 212 | ;; ediff-setup-diff-regions-function, which can also have the value |
| 213 | ;; ediff-setup-diff-regions3, which takes 4 arguments. | 213 | ;; ediff-setup-diff-regions3, which takes 4 arguments. |
| 214 | (defun ediff-setup-diff-regions (file-A file-B file-C) | 214 | (defun ediff-setup-diff-regions (file-A file-B _file-C) |
| 215 | ;; looking for '-c', '-i', '-u', or 'c', 'i', 'u' among clustered non-long options | 215 | ;; looking for '-c', '-i', '-u', or 'c', 'i', 'u' among clustered non-long options |
| 216 | (if (string-match "^-[ciu]\\| -[ciu]\\|\\(^\\| \\)-[^- ]+[ciu]" | 216 | (if (string-match "^-[ciu]\\| -[ciu]\\|\\(^\\| \\)-[^- ]+[ciu]" |
| 217 | ediff-diff-options) | 217 | ediff-diff-options) |
| @@ -1223,7 +1223,7 @@ delimiter regions")) | |||
| 1223 | ;; like shell-command-sentinel but doesn't print an exit status message | 1223 | ;; like shell-command-sentinel but doesn't print an exit status message |
| 1224 | ;; we do this because diff always exits with status 1, if diffs are found | 1224 | ;; we do this because diff always exits with status 1, if diffs are found |
| 1225 | ;; so shell-command-sentinel displays a confusing message to the user | 1225 | ;; so shell-command-sentinel displays a confusing message to the user |
| 1226 | (defun ediff-process-sentinel (process signal) | 1226 | (defun ediff-process-sentinel (process _signal) |
| 1227 | (if (and (memq (process-status process) '(exit signal)) | 1227 | (if (and (memq (process-status process) '(exit signal)) |
| 1228 | (buffer-name (process-buffer process))) | 1228 | (buffer-name (process-buffer process))) |
| 1229 | (progn | 1229 | (progn |
diff --git a/lisp/vc/ediff-init.el b/lisp/vc/ediff-init.el index 075775923a5..c9f3583a437 100644 --- a/lisp/vc/ediff-init.el +++ b/lisp/vc/ediff-init.el | |||
| @@ -810,7 +810,7 @@ TYPE-OF-EMACS is either 'xemacs or 'emacs." | |||
| 810 | (ediff-overlay-put extent 'face face) | 810 | (ediff-overlay-put extent 'face face) |
| 811 | (ediff-overlay-put extent 'help-echo 'ediff-region-help-echo)) | 811 | (ediff-overlay-put extent 'help-echo 'ediff-region-help-echo)) |
| 812 | 812 | ||
| 813 | (defun ediff-region-help-echo (extent-or-window &optional overlay point) | 813 | (defun ediff-region-help-echo (extent-or-window &optional overlay _point) |
| 814 | (unless overlay | 814 | (unless overlay |
| 815 | (setq overlay extent-or-window)) | 815 | (setq overlay extent-or-window)) |
| 816 | (let ((is-current (ediff-overlay-get overlay 'ediff)) | 816 | (let ((is-current (ediff-overlay-get overlay 'ediff)) |
| @@ -1768,7 +1768,7 @@ Unless optional argument INPLACE is non-nil, return a new string." | |||
| 1768 | (or n (setq n ediff-current-difference)) | 1768 | (or n (setq n ediff-current-difference)) |
| 1769 | (and (>= n 0) (< n ediff-number-of-differences))) | 1769 | (and (>= n 0) (< n ediff-number-of-differences))) |
| 1770 | 1770 | ||
| 1771 | (defsubst ediff-show-all-diffs (n) | 1771 | (defsubst ediff-show-all-diffs (_n) |
| 1772 | "Don't skip difference regions." | 1772 | "Don't skip difference regions." |
| 1773 | nil) | 1773 | nil) |
| 1774 | 1774 | ||
diff --git a/lisp/vc/ediff-merg.el b/lisp/vc/ediff-merg.el index a1f4d4f5d78..a319d8de9b6 100644 --- a/lisp/vc/ediff-merg.el +++ b/lisp/vc/ediff-merg.el | |||
| @@ -92,6 +92,8 @@ Buffer B." | |||
| 92 | ) | 92 | ) |
| 93 | (make-variable-buffer-local 'ediff-skip-merge-regions-that-differ-from-default) | 93 | (make-variable-buffer-local 'ediff-skip-merge-regions-that-differ-from-default) |
| 94 | 94 | ||
| 95 | (defvar state-of-merge) ; dynamic var | ||
| 96 | |||
| 95 | ;; check if there is no clash between the ancestor and one of the variants. | 97 | ;; check if there is no clash between the ancestor and one of the variants. |
| 96 | ;; if it is not a merge job then return true | 98 | ;; if it is not a merge job then return true |
| 97 | (defun ediff-merge-region-is-non-clash (n) | 99 | (defun ediff-merge-region-is-non-clash (n) |
| @@ -351,8 +353,6 @@ Combining is done according to the specifications in variable | |||
| 351 | (reverse delim-regs-list) | 353 | (reverse delim-regs-list) |
| 352 | ))) | 354 | ))) |
| 353 | 355 | ||
| 354 | (defvar state-of-merge) ; dynamic var | ||
| 355 | |||
| 356 | ;; Check if the non-preferred merge has been modified since originally set. | 356 | ;; Check if the non-preferred merge has been modified since originally set. |
| 357 | ;; This affects only the regions that are marked as default-A/B or combined. | 357 | ;; This affects only the regions that are marked as default-A/B or combined. |
| 358 | ;; If PREFERS-TOO is non-nil, then look at the regions marked as prefers-A/B as | 358 | ;; If PREFERS-TOO is non-nil, then look at the regions marked as prefers-A/B as |
diff --git a/lisp/vc/ediff-mult.el b/lisp/vc/ediff-mult.el index 58e10819a30..55e9465d48a 100644 --- a/lisp/vc/ediff-mult.el +++ b/lisp/vc/ediff-mult.el | |||
| @@ -1115,7 +1115,7 @@ behavior." | |||
| 1115 | (setq overl | 1115 | (setq overl |
| 1116 | (if (featurep 'xemacs) | 1116 | (if (featurep 'xemacs) |
| 1117 | (map-extents | 1117 | (map-extents |
| 1118 | (lambda (ext maparg) | 1118 | (lambda (ext _maparg) |
| 1119 | (if (and | 1119 | (if (and |
| 1120 | (ediff-overlay-get ext 'ediff-meta-info) | 1120 | (ediff-overlay-get ext 'ediff-meta-info) |
| 1121 | (eq (ediff-overlay-get ext 'ediff-meta-session-number) | 1121 | (eq (ediff-overlay-get ext 'ediff-meta-session-number) |
| @@ -1444,7 +1444,7 @@ Useful commands: | |||
| 1444 | 1444 | ||
| 1445 | 1445 | ||
| 1446 | ;; argument is ignored | 1446 | ;; argument is ignored |
| 1447 | (defun ediff-redraw-registry-buffer (&optional ignore) | 1447 | (defun ediff-redraw-registry-buffer (&optional _ignore) |
| 1448 | (ediff-with-current-buffer ediff-registry-buffer | 1448 | (ediff-with-current-buffer ediff-registry-buffer |
| 1449 | (let ((point (point)) | 1449 | (let ((point (point)) |
| 1450 | elt bufAname bufBname bufCname cur-diff total-diffs pt | 1450 | elt bufAname bufBname bufCname cur-diff total-diffs pt |
diff --git a/lisp/vc/ediff-util.el b/lisp/vc/ediff-util.el index 2f2c71a71e6..fe791f6bcee 100644 --- a/lisp/vc/ediff-util.el +++ b/lisp/vc/ediff-util.el | |||
| @@ -40,7 +40,7 @@ | |||
| 40 | (defvar ediff-after-quit-hook-internal nil) | 40 | (defvar ediff-after-quit-hook-internal nil) |
| 41 | 41 | ||
| 42 | (eval-and-compile | 42 | (eval-and-compile |
| 43 | (unless (fboundp 'declare-function) (defmacro declare-function (&rest r)))) | 43 | (unless (fboundp 'declare-function) (defmacro declare-function (&rest _r)))) |
| 44 | 44 | ||
| 45 | ;; end pacifier | 45 | ;; end pacifier |
| 46 | 46 | ||
| @@ -1602,7 +1602,7 @@ the width of the A/B/C windows." | |||
| 1602 | ;;BEG, END show the region to be positioned. | 1602 | ;;BEG, END show the region to be positioned. |
| 1603 | ;;JOB-NAME holds ediff-job-name. The ediff-windows job positions regions | 1603 | ;;JOB-NAME holds ediff-job-name. The ediff-windows job positions regions |
| 1604 | ;;differently. | 1604 | ;;differently. |
| 1605 | (defun ediff-position-region (beg end pos job-name) | 1605 | (defun ediff-position-region (beg end pos _job-name) |
| 1606 | (if (> end (point-max)) | 1606 | (if (> end (point-max)) |
| 1607 | (setq end (point-max))) | 1607 | (setq end (point-max))) |
| 1608 | (if ediff-windows-job | 1608 | (if ediff-windows-job |
| @@ -1685,7 +1685,7 @@ the width of the A/B/C windows." | |||
| 1685 | 'ediff-get-lines-to-region-start) | 1685 | 'ediff-get-lines-to-region-start) |
| 1686 | ((eq op 'scroll-up) | 1686 | ((eq op 'scroll-up) |
| 1687 | 'ediff-get-lines-to-region-end) | 1687 | 'ediff-get-lines-to-region-end) |
| 1688 | (t (lambda (a b c) 0)))) | 1688 | (t (lambda (_a _b _c) 0)))) |
| 1689 | (max-lines (max (funcall func 'A n ctl-buf) | 1689 | (max-lines (max (funcall func 'A n ctl-buf) |
| 1690 | (funcall func 'B n ctl-buf) | 1690 | (funcall func 'B n ctl-buf) |
| 1691 | (if (ediff-buffer-live-p ediff-buffer-C) | 1691 | (if (ediff-buffer-live-p ediff-buffer-C) |
diff --git a/lisp/vc/ediff-wind.el b/lisp/vc/ediff-wind.el index 5a14c193344..785535b82df 100644 --- a/lisp/vc/ediff-wind.el +++ b/lisp/vc/ediff-wind.el | |||
| @@ -40,7 +40,7 @@ | |||
| 40 | 40 | ||
| 41 | ;; declare-function does not exist in XEmacs | 41 | ;; declare-function does not exist in XEmacs |
| 42 | (eval-and-compile | 42 | (eval-and-compile |
| 43 | (unless (fboundp 'declare-function) (defmacro declare-function (&rest r)))) | 43 | (unless (fboundp 'declare-function) (defmacro declare-function (&rest _r)))) |
| 44 | 44 | ||
| 45 | (require 'ediff-init) | 45 | (require 'ediff-init) |
| 46 | (require 'ediff-help) | 46 | (require 'ediff-help) |
| @@ -280,7 +280,7 @@ into icons, regardless of the window manager." | |||
| 280 | 280 | ||
| 281 | ;;; Functions | 281 | ;;; Functions |
| 282 | 282 | ||
| 283 | (defun ediff-get-window-by-clicking (wind prev-wind wind-number) | 283 | (defun ediff-get-window-by-clicking (_wind _prev-wind wind-number) |
| 284 | (let (event) | 284 | (let (event) |
| 285 | (message | 285 | (message |
| 286 | "Select windows by clicking. Please click on Window %d " wind-number) | 286 | "Select windows by clicking. Please click on Window %d " wind-number) |
| @@ -289,9 +289,9 @@ into icons, regardless of the window manager." | |||
| 289 | (beep 1)) | 289 | (beep 1)) |
| 290 | (message "Please click on Window %d " wind-number)) | 290 | (message "Please click on Window %d " wind-number)) |
| 291 | (ediff-read-event) ; discard event | 291 | (ediff-read-event) ; discard event |
| 292 | (setq wind (if (featurep 'xemacs) | 292 | (if (featurep 'xemacs) |
| 293 | (event-window event) | 293 | (event-window event) |
| 294 | (posn-window (event-start event)))))) | 294 | (posn-window (event-start event))))) |
| 295 | 295 | ||
| 296 | 296 | ||
| 297 | ;; Select the lowest window on the frame. | 297 | ;; Select the lowest window on the frame. |
diff --git a/lisp/vc/ediff.el b/lisp/vc/ediff.el index d35c3e53e9a..9ab592587c9 100644 --- a/lisp/vc/ediff.el +++ b/lisp/vc/ediff.el | |||
| @@ -114,7 +114,7 @@ | |||
| 114 | 114 | ||
| 115 | ;; Compiler pacifier | 115 | ;; Compiler pacifier |
| 116 | (eval-and-compile | 116 | (eval-and-compile |
| 117 | (unless (fboundp 'declare-function) (defmacro declare-function (&rest r)))) | 117 | (unless (fboundp 'declare-function) (defmacro declare-function (&rest _r)))) |
| 118 | 118 | ||
| 119 | (require 'ediff-util) | 119 | (require 'ediff-util) |
| 120 | ;; end pacifier | 120 | ;; end pacifier |
diff --git a/lisp/vc/emerge.el b/lisp/vc/emerge.el index 8d0e8efc75c..af13665fc2a 100644 --- a/lisp/vc/emerge.el +++ b/lisp/vc/emerge.el | |||
| @@ -849,7 +849,7 @@ This is *not* a user option, since Emerge uses it for its own processing.") | |||
| 849 | ;;; Functions to start Emerge on files | 849 | ;;; Functions to start Emerge on files |
| 850 | 850 | ||
| 851 | ;;;###autoload | 851 | ;;;###autoload |
| 852 | (defun emerge-files (arg file-A file-B file-out &optional startup-hooks | 852 | (defun emerge-files (_arg file-A file-B file-out &optional startup-hooks |
| 853 | quit-hooks) | 853 | quit-hooks) |
| 854 | "Run Emerge on two files." | 854 | "Run Emerge on two files." |
| 855 | (interactive | 855 | (interactive |
| @@ -869,7 +869,7 @@ This is *not* a user option, since Emerge uses it for its own processing.") | |||
| 869 | file-out)) | 869 | file-out)) |
| 870 | 870 | ||
| 871 | ;;;###autoload | 871 | ;;;###autoload |
| 872 | (defun emerge-files-with-ancestor (arg file-A file-B file-ancestor file-out | 872 | (defun emerge-files-with-ancestor (_arg file-A file-B file-ancestor file-out |
| 873 | &optional startup-hooks quit-hooks) | 873 | &optional startup-hooks quit-hooks) |
| 874 | "Run Emerge on two files, giving another file as the ancestor." | 874 | "Run Emerge on two files, giving another file as the ancestor." |
| 875 | (interactive | 875 | (interactive |
| @@ -1063,7 +1063,7 @@ This is *not* a user option, since Emerge uses it for its own processing.") | |||
| 1063 | quit-hooks))) | 1063 | quit-hooks))) |
| 1064 | 1064 | ||
| 1065 | (defun emerge-revisions-internal (file revision-A revision-B &optional | 1065 | (defun emerge-revisions-internal (file revision-A revision-B &optional |
| 1066 | startup-hooks quit-hooks output-file) | 1066 | startup-hooks quit-hooks _output-file) |
| 1067 | (let ((buffer-A (get-buffer-create (format "%s,%s" file revision-A))) | 1067 | (let ((buffer-A (get-buffer-create (format "%s,%s" file revision-A))) |
| 1068 | (buffer-B (get-buffer-create (format "%s,%s" file revision-B))) | 1068 | (buffer-B (get-buffer-create (format "%s,%s" file revision-B))) |
| 1069 | (emerge-file-A (emerge-make-temp-file "A")) | 1069 | (emerge-file-A (emerge-make-temp-file "A")) |
diff --git a/lisp/vc/pcvs.el b/lisp/vc/pcvs.el index fb91185662a..914eef4dd39 100644 --- a/lisp/vc/pcvs.el +++ b/lisp/vc/pcvs.el | |||
| @@ -648,7 +648,7 @@ If non-nil, NEW means to create a new buffer no matter what." | |||
| 648 | done)))) | 648 | done)))) |
| 649 | 649 | ||
| 650 | 650 | ||
| 651 | (defun cvs-sentinel (proc msg) | 651 | (defun cvs-sentinel (proc _msg) |
| 652 | "Sentinel for the cvs update process. | 652 | "Sentinel for the cvs update process. |
| 653 | This is responsible for parsing the output from the cvs update when | 653 | This is responsible for parsing the output from the cvs update when |
| 654 | it is finished." | 654 | it is finished." |
| @@ -981,7 +981,7 @@ The files are stored to DIR." | |||
| 981 | ;;;; | 981 | ;;;; |
| 982 | 982 | ||
| 983 | (defun-cvs-mode (cvs-mode-revert-buffer . SIMPLE) | 983 | (defun-cvs-mode (cvs-mode-revert-buffer . SIMPLE) |
| 984 | (&optional ignore-auto noconfirm) | 984 | (&optional _ignore-auto _noconfirm) |
| 985 | "Rerun `cvs-examine' on the current directory with the default flags." | 985 | "Rerun `cvs-examine' on the current directory with the default flags." |
| 986 | (interactive) | 986 | (interactive) |
| 987 | (cvs-examine default-directory t)) | 987 | (cvs-examine default-directory t)) |
| @@ -995,7 +995,7 @@ If in a *cvs* buffer, don't prompt unless a prefix argument is given." | |||
| 995 | (read-directory-name prompt nil default-directory nil))) | 995 | (read-directory-name prompt nil default-directory nil))) |
| 996 | 996 | ||
| 997 | ;;;###autoload | 997 | ;;;###autoload |
| 998 | (defun cvs-quickdir (dir &optional flags noshow) | 998 | (defun cvs-quickdir (dir &optional _flags noshow) |
| 999 | "Open a *cvs* buffer on DIR without running cvs. | 999 | "Open a *cvs* buffer on DIR without running cvs. |
| 1000 | With a prefix argument, prompt for a directory to use. | 1000 | With a prefix argument, prompt for a directory to use. |
| 1001 | A prefix arg >8 (ex: \\[universal-argument] \\[universal-argument]), | 1001 | A prefix arg >8 (ex: \\[universal-argument] \\[universal-argument]), |