From f6bcd65fa55b64529060cd5fcec3610e1d8ab572 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Sat, 2 Feb 2008 04:16:23 +0000 Subject: [PATCH] (declare-function): Add compatibility definition. (ps-plot-with-face, ps-plot-string): Declare as functions. (ps-bold-faces, ps-italic-faces): Declare variables. --- lisp/ps-def.el | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/lisp/ps-def.el b/lisp/ps-def.el index 30453f87463..72a8bbf3e23 100644 --- a/lisp/ps-def.el +++ b/lisp/ps-def.el @@ -31,6 +31,15 @@ ;;; Code: +(eval-and-compile + (unless (fboundp 'declare-function) (defmacro declare-function (&rest r)))) + +(declare-function ps-plot-with-face "ps-print" (from to face)) +(declare-function ps-plot-string "ps-print" (string)) + +(defvar ps-bold-faces) ; in ps-print.el +(defvar ps-italic-faces) + ;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -- 2.39.5