Fix extra escape characters in certain format codes
This commit is contained in:
		| @ -910,7 +910,8 @@ return a list of many indices instead." | ||||
|                            (merge-pathnames uiop:*wild-file-for-directory* | ||||
|                                             (uiop:ensure-directory-pathname | ||||
|                                              (merge-pathnames "files" dir)))))) | ||||
|         (format t "~A~:[~%~;~A~]" missing null #\Nul))))) | ||||
|         (format t "~A~:[~%~;~A~]" | ||||
|                 (uiop:native-namestring missing) null #\Nul))))) | ||||
|  | ||||
| (defun missing-file/handler (cmd) | ||||
|   "Handler for the \"missing file\" subcommand." | ||||
|  | ||||
| @ -276,12 +276,14 @@ The recognized printf-style sequences for ~A are: | ||||
|    (make-format-code | ||||
|     :name #\o | ||||
|     :action (lambda (stream info) | ||||
|               (format stream "~A" (trashinfo-original-path info :resolve t))) | ||||
|               (format stream "~A" (uiop:native-namestring | ||||
|                                    (trashinfo-original-path info :resolve t)))) | ||||
|     :doc "the (o)riginal path (always absolute)") | ||||
|    (make-format-code | ||||
|     :name #\O | ||||
|     :action (lambda (stream info) | ||||
|               (format stream "~A" (trashinfo-original-path info :normalize t))) | ||||
|               (format stream "~A" (uiop:native-namestring | ||||
|                                    (trashinfo-original-path info :normalize t)))) | ||||
|     :doc "the (o)riginal path (possibly relative)") | ||||
|    (make-format-code | ||||
|     :name #\n | ||||
| @ -292,17 +294,20 @@ The recognized printf-style sequences for ~A are: | ||||
|    (make-format-code | ||||
|     :name #\d | ||||
|     :action (lambda (stream info) | ||||
|               (format stream "~A" (trashinfo-trash-directory info))) | ||||
|               (format stream "~A" (uiop:native-namestring | ||||
|                                    (trashinfo-trash-directory info)))) | ||||
|     :doc "the trash (d)irectory") | ||||
|    (make-format-code | ||||
|     :name #\i | ||||
|     :action (lambda (stream info) | ||||
|               (format stream "~A" (trashinfo-info-file info))) | ||||
|               (format stream "~A" (uiop:native-namestring | ||||
|                                    (trashinfo-info-file info)))) | ||||
|     :doc "the trash(i)nfo file path") | ||||
|    (make-format-code | ||||
|     :name #\c | ||||
|     :action (lambda (stream info) | ||||
|               (format stream "~A" (trashinfo-trashed-file info))) | ||||
|               (format stream "~A" (uiop:native-namestring | ||||
|                                    (trashinfo-trashed-file info)))) | ||||
|     :doc "the (c)urrent (trashed) path") | ||||
|    (make-format-code | ||||
|     :name #\u | ||||
|  | ||||
		Reference in New Issue
	
	Block a user