summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2008-02-02 04:16:23 +0000
committerGlenn Morris <rgm@gnu.org>2008-02-02 04:16:23 +0000
commitf6bcd65fa55b64529060cd5fcec3610e1d8ab572 (patch)
treeeedcabaf3dbbd7ef22f4e5dca4f5f30b287f07b9 /lisp
parent4836694e558e4af0fbe30c861557dd67b9f4900e (diff)
downloademacs-f6bcd65fa55b64529060cd5fcec3610e1d8ab572.tar.gz
(declare-function): Add compatibility definition.
(ps-plot-with-face, ps-plot-string): Declare as functions. (ps-bold-faces, ps-italic-faces): Declare variables.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ps-def.el9
1 files changed, 9 insertions, 0 deletions
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)
+
;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;