aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim F. Storm2003-02-07 23:11:17 +0000
committerKim F. Storm2003-02-07 23:11:17 +0000
commitfea8973a15f90e36abfe4b6c40d520161b0ea1b8 (patch)
tree236d1c069d4386493122c8cb898717b40f0400a1
parentcd3782b4fd35a7774e15f264f573537495596866 (diff)
downloademacs-fea8973a15f90e36abfe4b6c40d520161b0ea1b8.tar.gz
emacs-fea8973a15f90e36abfe4b6c40d520161b0ea1b8.zip
(pr-get-symbol): Define during compile.
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/printing.el3
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index b9932fe0074..d2511614896 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
12003-02-08 Kim F. Storm <storm@cua.dk>
2
3 * printing.el (pr-get-symbol): Define during compile.
4
12003-02-07 Vinicius Jose Latorre <vinicius@cpqd.com.br> 52003-02-07 Vinicius Jose Latorre <vinicius@cpqd.com.br>
2 6
3 * printing.el: New file. 7 * printing.el: New file.
diff --git a/lisp/printing.el b/lisp/printing.el
index c53b41b84d5..eb55586591b 100644
--- a/lisp/printing.el
+++ b/lisp/printing.el
@@ -2344,13 +2344,14 @@ See `pr-ps-printer-alist'.")
2344 ,@body 2344 ,@body
2345 (kill-buffer temp)))) 2345 (kill-buffer temp))))
2346 2346
2347 2347(eval-and-compile
2348(defun pr-get-symbol (name) 2348(defun pr-get-symbol (name)
2349 ;; Recent versions of easy-menu downcase names before interning them. 2349 ;; Recent versions of easy-menu downcase names before interning them.
2350 (and (fboundp 'easy-menu-name-match) 2350 (and (fboundp 'easy-menu-name-match)
2351 (setq name (downcase name))) 2351 (setq name (downcase name)))
2352 (or (intern-soft name) 2352 (or (intern-soft name)
2353 (make-symbol name))) 2353 (make-symbol name)))
2354)
2354 2355
2355 2356
2356(defsubst pr-visible-p (key) 2357(defsubst pr-visible-p (key)