[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs/lisp ChangeLog ps-print.el
From: |
Glenn Morris |
Subject: |
[Emacs-diffs] emacs/lisp ChangeLog ps-print.el |
Date: |
Tue, 21 Jul 2009 04:49:52 +0000 |
CVSROOT: /sources/emacs
Module name: emacs
Changes by: Glenn Morris <gm> 09/07/21 04:49:51
Modified files:
lisp : ChangeLog ps-print.el
Log message:
(ps-jitify, ps-lazify): Remove aliases only used to
silence compiler. Instead...
(jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
(ps-print-ensure-fontified): Update for above function name changes.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/lisp/ChangeLog?cvsroot=emacs&r1=1.15839&r2=1.15840
http://cvs.savannah.gnu.org/viewcvs/emacs/lisp/ps-print.el?cvsroot=emacs&r1=1.226&r2=1.227
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/emacs/emacs/lisp/ChangeLog,v
retrieving revision 1.15839
retrieving revision 1.15840
diff -u -b -r1.15839 -r1.15840
--- ChangeLog 21 Jul 2009 04:47:34 -0000 1.15839
+++ ChangeLog 21 Jul 2009 04:49:48 -0000 1.15840
@@ -1,5 +1,10 @@
2009-07-21 Glenn Morris <address@hidden>
+ * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
+ silence compiler. Instead...
+ (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
+ (ps-print-ensure-fontified): Update for above function name changes.
+
* printing.el (pr-mh-get-msg-num, pr-mh-show)
(pr-mh-start-of-uncleaned-message): Remove aliases only used to
silence compiler. Instead...
Index: ps-print.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/ps-print.el,v
retrieving revision 1.226
retrieving revision 1.227
diff -u -b -r1.226 -r1.227
--- ps-print.el 25 Feb 2009 12:31:58 -0000 1.226
+++ ps-print.el 21 Jul 2009 04:49:51 -0000 1.227
@@ -6410,17 +6410,15 @@
(ps-face-background-name face))))
-;; to avoid compilation gripes
-(defalias 'ps-jitify 'jit-lock-fontify-now)
-(defalias 'ps-lazify 'lazy-lock-fontify-region)
-
+(declare-function jit-lock-fontify-now "jit-lock" (&optional start end))
+(declare-function lazy-lock-fontify-region "lazy-lock" (beg end))
;; to avoid compilation gripes
(defun ps-print-ensure-fontified (start end)
(cond ((and (boundp 'jit-lock-mode) (symbol-value 'jit-lock-mode))
- (ps-jitify start end))
+ (jit-lock-fontify-now start end))
((and (boundp 'lazy-lock-mode) (symbol-value 'lazy-lock-mode))
- (ps-lazify start end))))
+ (lazy-lock-fontify-region start end))))
(defun ps-generate-postscript-with-faces (from to)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs/lisp ChangeLog ps-print.el,
Glenn Morris <=