]> git.eshelyaron.com Git - emacs.git/commitdiff
(declare-function): Add compatibility definition.
authorGlenn Morris <rgm@gnu.org>
Sat, 2 Feb 2008 04:16:23 +0000 (04:16 +0000)
committerGlenn Morris <rgm@gnu.org>
Sat, 2 Feb 2008 04:16:23 +0000 (04:16 +0000)
(ps-plot-with-face, ps-plot-string): Declare as functions.
(ps-bold-faces, ps-italic-faces): Declare variables.

lisp/ps-def.el

index 30453f8746301c51f2f1ceed1896add47be2ff37..72a8bbf3e2310cf0d34c8f0581404103b7c29099 100644 (file)
 
 ;;; 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)
+
 
 \f
 ;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;