aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVinicius Jose Latorre2003-03-03 20:03:18 +0000
committerVinicius Jose Latorre2003-03-03 20:03:18 +0000
commit526335b489fa0eac018e9ac4f3a7c084db0b1664 (patch)
tree3dfe46817164e31393778b025391ff38692e6e53
parentca2417b9b97919dbc23bf38916f7cd86902d68de (diff)
downloademacs-526335b489fa0eac018e9ac4f3a7c084db0b1664.tar.gz
emacs-526335b489fa0eac018e9ac4f3a7c084db0b1664.zip
vinicius: copyright date fix. Move pr-get-symbol into eval-and-compile.
-rw-r--r--lisp/printing.el18
1 files changed, 8 insertions, 10 deletions
diff --git a/lisp/printing.el b/lisp/printing.el
index eb55586591b..f9c95a16447 100644
--- a/lisp/printing.el
+++ b/lisp/printing.el
@@ -1,6 +1,6 @@
1;;; printing.el --- printing utilities 1;;; printing.el --- printing utilities
2 2
3;; Copyright (C) 2000, 2001, 2002 3;; Copyright (C) 2000, 2001, 2002, 2003
4;; Free Software Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Author: Vinicius Jose Latorre <vinicius@cpqd.com.br> 6;; Author: Vinicius Jose Latorre <vinicius@cpqd.com.br>
@@ -2344,15 +2344,6 @@ See `pr-ps-printer-alist'.")
2344 ,@body 2344 ,@body
2345 (kill-buffer temp)))) 2345 (kill-buffer temp))))
2346 2346
2347(eval-and-compile
2348(defun pr-get-symbol (name)
2349 ;; Recent versions of easy-menu downcase names before interning them.
2350 (and (fboundp 'easy-menu-name-match)
2351 (setq name (downcase name)))
2352 (or (intern-soft name)
2353 (make-symbol name)))
2354)
2355
2356 2347
2357(defsubst pr-visible-p (key) 2348(defsubst pr-visible-p (key)
2358 (memq key pr-visible-entry-list)) 2349 (memq key pr-visible-entry-list))
@@ -2371,6 +2362,13 @@ See `pr-ps-printer-alist'.")
2371 2362
2372 2363
2373(eval-and-compile 2364(eval-and-compile
2365 (defun pr-get-symbol (name)
2366 ;; Recent versions of easy-menu downcase names before interning them.
2367 (and (fboundp 'easy-menu-name-match)
2368 (setq name (downcase name)))
2369 (or (intern-soft name)
2370 (make-symbol name)))
2371
2374 (cond 2372 (cond
2375 ((eq ps-print-emacs-type 'emacs) ; GNU Emacs 2373 ((eq ps-print-emacs-type 'emacs) ; GNU Emacs
2376 (defsubst pr-region-active-p () 2374 (defsubst pr-region-active-p ()