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.
This commit is contained in:
parent
af4cfb5194
commit
a631067fba
3 changed files with 5 additions and 8 deletions
|
@ -1020,7 +1020,6 @@ Otherwise return the normal value."
|
|||
(string-to-char (symbol-name key)))
|
||||
((and (listp key)
|
||||
(eq (car key) 'control)
|
||||
(symbol-name (nth 1 key))
|
||||
(= 1 (length (symbol-name (nth 1 key)))))
|
||||
(read (format "?\\C-%s" (symbol-name (nth 1 key)))))
|
||||
(t key)))
|
||||
|
|
|
@ -210,7 +210,7 @@ LOCATION is used as the phone location for BBDB."
|
|||
(while (eudc-move-to-next-record)
|
||||
(and (overlays-at (point))
|
||||
(setq record (overlay-get (car (overlays-at (point))) 'eudc-record))
|
||||
(1+ nbrec)
|
||||
(setq nbrec (1+ nbrec))
|
||||
(eudc-create-bbdb-record record t)))
|
||||
(message "%d records imported into BBDB" nbrec)))
|
||||
|
||||
|
|
|
@ -224,12 +224,10 @@ RESULT is a list of conses (FILE . STATE) for directory DIR."
|
|||
(let (process-file-side-effects)
|
||||
(vc-svn-command "*vc*" 0 nil "info"))
|
||||
(let ((repo
|
||||
(save-excursion
|
||||
(and (progn
|
||||
(set-buffer "*vc*")
|
||||
(goto-char (point-min))
|
||||
(re-search-forward "Repository Root: *\\(.*\\)" nil t))
|
||||
(match-string 1)))))
|
||||
(with-current-buffer "*vc*"
|
||||
(goto-char (point-min))
|
||||
(when (re-search-forward "Repository Root: *\\(.*\\)" nil t)
|
||||
(match-string 1)))))
|
||||
(concat
|
||||
(cond (repo
|
||||
(concat
|
||||
|
|
Loading…
Add table
Reference in a new issue