aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel LaLiberte1994-04-09 22:19:10 +0000
committerDaniel LaLiberte1994-04-09 22:19:10 +0000
commit4633707b6b4aed6611a0f6192c4fff86cd595d83 (patch)
tree2b6bd2f8e1a39b30fa98a9f2be2f85694366c260
parentd8b3a65d6c23ad7ad7d42e60391ca5a987897f4c (diff)
downloademacs-4633707b6b4aed6611a0f6192c4fff86cd595d83.tar.gz
emacs-4633707b6b4aed6611a0f6192c4fff86cd595d83.zip
Jumping up to new revision.
Simplify definition of defalias for Emacs 18.
-rw-r--r--lisp/emacs-lisp/cust-print.el17
1 files changed, 8 insertions, 9 deletions
diff --git a/lisp/emacs-lisp/cust-print.el b/lisp/emacs-lisp/cust-print.el
index 6b9ae19269a..0c80b6c8bdb 100644
--- a/lisp/emacs-lisp/cust-print.el
+++ b/lisp/emacs-lisp/cust-print.el
@@ -9,12 +9,7 @@
9;; LCD Archive Entry: 9;; LCD Archive Entry:
10;; cust-print|Daniel LaLiberte|liberte@cs.uiuc.edu 10;; cust-print|Daniel LaLiberte|liberte@cs.uiuc.edu
11;; |Handle print-level, print-circle and more. 11;; |Handle print-level, print-circle and more.
12;; |$Date: 1994/03/24 20:26:05 $|1.5| 12;; |$Date: 1994/04/05 21:05:09 $|$Revision: 1.14 $|
13
14;; Version 1.5 ($Revision: 1.13 $ from Emacs 19)
15
16;; Emacs maintainers: please inform me of any changes to this code.
17;; Better yet, ask me first.
18 13
19;; This file is part of GNU Emacs. 14;; This file is part of GNU Emacs.
20 15
@@ -33,7 +28,11 @@
33;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 28;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
34 29
35;;; =============================== 30;;; ===============================
31;;; $Header: $
36;;; $Log: cust-print.el,v $ 32;;; $Log: cust-print.el,v $
33;;; Revision 1.14 1994/04/05 21:05:09 liberte
34;;; Change install- and uninstall- to -install and -uninstall.
35;;;
37;;; Revision 1.13 1994/03/24 20:26:05 liberte 36;;; Revision 1.13 1994/03/24 20:26:05 liberte
38;;; Change "internal" to "original" throughout. 37;;; Change "internal" to "original" throughout.
39;;; (add-custom-printer, delete-custom-printer) replace customizers. 38;;; (add-custom-printer, delete-custom-printer) replace customizers.
@@ -162,9 +161,8 @@
162 161
163;; Emacs 18 doesnt have defalias. 162;; Emacs 18 doesnt have defalias.
164;; Provide def for byte compiler. 163;; Provide def for byte compiler.
165(defun defalias (symbol func) (fset symbol func)) 164(eval-and-compile
166;; Better def when loaded. 165 (or (fboundp 'defalias) (fset 'defalias 'fset)))
167(or (fboundp 'defalias) (fset 'defalias 'fset))
168 166
169 167
170;; Variables: 168;; Variables:
@@ -724,3 +722,4 @@ See `custom-format' for the details."
724(provide 'cust-print) 722(provide 'cust-print)
725 723
726;;; cust-print.el ends here 724;;; cust-print.el ends here
725