changeset 91430:85b224f48b52

(declare-function): Add compatibility definition. (ps-plot-with-face, ps-plot-string): Declare as functions. (ps-bold-faces, ps-italic-faces): Declare variables.
author Glenn Morris <rgm@gnu.org>
date Sat, 02 Feb 2008 04:16:23 +0000
parents dca6485ff374
children 1299bda11e58
files lisp/ps-def.el
diffstat 1 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ps-def.el	Sat Feb 02 04:15:23 2008 +0000
+++ b/lisp/ps-def.el	Sat Feb 02 04:16:23 2008 +0000
@@ -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)
+
 
 
 ;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;