Remove unused vars in cl-extra.el and tramp.el.
* lisp/emacs-lisp/cl-extra.el (cl--print-table): Remove unused vars. * lisp/net/tramp.el (tramp-dissect-file-name): Remove unused `match'. (outline-regexp, ls-lisp-use-insert-directory-program): Declare. (tramp-find-foreign-file-name-handler): Mark unused arg, remove unused `v`.
This commit is contained in:
parent
32bb5a945a
commit
06a7963986
2 changed files with 14 additions and 12 deletions
|
@ -877,16 +877,14 @@ including `cl-block' and `cl-eval-when'."
|
|||
(if (> newwidth curwidth)
|
||||
(setf (aref cols i) newwidth)))))
|
||||
(let ((formats '())
|
||||
(tmp-head header)
|
||||
(col 0))
|
||||
(dotimes (i (length cols))
|
||||
(let ((head (pop tmp-head)))
|
||||
(push (concat (propertize " "
|
||||
'display
|
||||
`(space :align-to ,(+ col col-space)))
|
||||
"%s")
|
||||
formats)
|
||||
(cl-incf col (+ col-space (aref cols i)))))
|
||||
(push (concat (propertize " "
|
||||
'display
|
||||
`(space :align-to ,(+ col col-space)))
|
||||
"%s")
|
||||
formats)
|
||||
(cl-incf col (+ col-space (aref cols i))))
|
||||
(let ((format (mapconcat #'identity (nreverse formats) "")))
|
||||
(insert (apply #'format format
|
||||
(mapcar (lambda (str) (propertize str 'face 'italic))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue