From: Glenn Morris Date: Sat, 2 Feb 2008 04:16:23 +0000 (+0000) Subject: (declare-function): Add compatibility definition. X-Git-Tag: emacs-pretest-23.0.90~8253 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f6bcd65fa55b64529060cd5fcec3610e1d8ab572;p=emacs.git (declare-function): Add compatibility definition. (ps-plot-with-face, ps-plot-string): Declare as functions. (ps-bold-faces, ps-italic-faces): Declare variables. --- 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) + ;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;