Hello,

Michael Brand <michael.ch.br...@gmail.com> writes:

> +     ;; FIXME: Remove this check when most default installations of
> +     ;; Emacs have at least Org 9.0.
> +     ((wrong-number-of-arguments invalid-function)
> +      (user-error
> +       (concat
> +        "Please see Org News for version 9.0 about `org-file-apps', "
> +        "error: "
> +        (prin1-to-string err))))))

(user-error
 "Please see Org News for version 9.0 about `org-file-apps', error: %S"
 (nth 1 err))

You can use continuation character (i.e., "\" followed by a newline) if
string is too large.

>       ((consp cmd)
>        ;; FIXME: Remove this check when most default installations of
>        ;; Emacs have at least Org 9.0.
> @@ -11333,7 +11342,9 @@ If the file does not exist, an error is thrown."
>        ;; `org-link-frame-setup' for an old usage of `org-file-apps'
>        ;; with sexp instead of a function for `cmd'.
>        (user-error
> -       "Please see Org News for version 9.0 about `org-file-apps'"))
> +       (concat "Please see Org News for version 9.0 about `org-file-apps', "
> +            "error: deprecated usage of "
> +            (prin1-to-string cmd))))

Ditto.


Regards,

-- 
Nicolas Goaziou

Reply via email to