diff options
| author | Stefan Kangas | 2022-08-17 12:48:02 +0200 |
|---|---|---|
| committer | Stefan Kangas | 2022-08-17 12:52:56 +0200 |
| commit | a631067fba54e873122d40106fec4dacd8eba8db (patch) | |
| tree | c26c4f3dea156e26685c5d1fbe8e4705d265375f | |
| parent | af4cfb519415ed3c1d6d036aac908e4f9ee383eb (diff) | |
| download | emacs-a631067fba54e873122d40106fec4dacd8eba8db.tar.gz emacs-a631067fba54e873122d40106fec4dacd8eba8db.zip | |
Fix some recently introduced byte-compiler warnings
* lisp/emulation/viper-util.el (viper-key-to-character):
* lisp/vc/vc-svn.el (vc-svn-dir-extra-headers): Fix warnings.
* lisp/net/eudc-export.el (eudc-batch-export-records-to-bbdb):
Fix buglet.
| -rw-r--r-- | lisp/emulation/viper-util.el | 1 | ||||
| -rw-r--r-- | lisp/net/eudc-export.el | 2 | ||||
| -rw-r--r-- | lisp/vc/vc-svn.el | 10 |
3 files changed, 5 insertions, 8 deletions
diff --git a/lisp/emulation/viper-util.el b/lisp/emulation/viper-util.el index 25c55acf96c..46dbd7f24d5 100644 --- a/lisp/emulation/viper-util.el +++ b/lisp/emulation/viper-util.el | |||
| @@ -1020,7 +1020,6 @@ Otherwise return the normal value." | |||
| 1020 | (string-to-char (symbol-name key))) | 1020 | (string-to-char (symbol-name key))) |
| 1021 | ((and (listp key) | 1021 | ((and (listp key) |
| 1022 | (eq (car key) 'control) | 1022 | (eq (car key) 'control) |
| 1023 | (symbol-name (nth 1 key)) | ||
| 1024 | (= 1 (length (symbol-name (nth 1 key))))) | 1023 | (= 1 (length (symbol-name (nth 1 key))))) |
| 1025 | (read (format "?\\C-%s" (symbol-name (nth 1 key))))) | 1024 | (read (format "?\\C-%s" (symbol-name (nth 1 key))))) |
| 1026 | (t key))) | 1025 | (t key))) |
diff --git a/lisp/net/eudc-export.el b/lisp/net/eudc-export.el index 3f7d9c00608..2f841336e0b 100644 --- a/lisp/net/eudc-export.el +++ b/lisp/net/eudc-export.el | |||
| @@ -210,7 +210,7 @@ LOCATION is used as the phone location for BBDB." | |||
| 210 | (while (eudc-move-to-next-record) | 210 | (while (eudc-move-to-next-record) |
| 211 | (and (overlays-at (point)) | 211 | (and (overlays-at (point)) |
| 212 | (setq record (overlay-get (car (overlays-at (point))) 'eudc-record)) | 212 | (setq record (overlay-get (car (overlays-at (point))) 'eudc-record)) |
| 213 | (1+ nbrec) | 213 | (setq nbrec (1+ nbrec)) |
| 214 | (eudc-create-bbdb-record record t))) | 214 | (eudc-create-bbdb-record record t))) |
| 215 | (message "%d records imported into BBDB" nbrec))) | 215 | (message "%d records imported into BBDB" nbrec))) |
| 216 | 216 | ||
diff --git a/lisp/vc/vc-svn.el b/lisp/vc/vc-svn.el index 270877041aa..08b53a7169f 100644 --- a/lisp/vc/vc-svn.el +++ b/lisp/vc/vc-svn.el | |||
| @@ -224,12 +224,10 @@ RESULT is a list of conses (FILE . STATE) for directory DIR." | |||
| 224 | (let (process-file-side-effects) | 224 | (let (process-file-side-effects) |
| 225 | (vc-svn-command "*vc*" 0 nil "info")) | 225 | (vc-svn-command "*vc*" 0 nil "info")) |
| 226 | (let ((repo | 226 | (let ((repo |
| 227 | (save-excursion | 227 | (with-current-buffer "*vc*" |
| 228 | (and (progn | 228 | (goto-char (point-min)) |
| 229 | (set-buffer "*vc*") | 229 | (when (re-search-forward "Repository Root: *\\(.*\\)" nil t) |
| 230 | (goto-char (point-min)) | 230 | (match-string 1))))) |
| 231 | (re-search-forward "Repository Root: *\\(.*\\)" nil t)) | ||
| 232 | (match-string 1))))) | ||
| 233 | (concat | 231 | (concat |
| 234 | (cond (repo | 232 | (cond (repo |
| 235 | (concat | 233 | (concat |