Fix extra escape characters in certain format codes
This commit is contained in:
		| @ -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