diff options
| author | Kenichi Handa | 1999-11-24 02:29:08 +0000 |
|---|---|---|
| committer | Kenichi Handa | 1999-11-24 02:29:08 +0000 |
| commit | 68e684a01991592dba23d2c32c0684c88f904c75 (patch) | |
| tree | 408a521fff63c1447358362c759bd7b927f1f746 | |
| parent | a21616bdc57c7065019d2fbf5a2e45fc70c4d355 (diff) | |
| download | emacs-68e684a01991592dba23d2c32c0684c88f904c75.tar.gz emacs-68e684a01991592dba23d2c32c0684c88f904c75.zip | |
Define mule funs without checking if mule package is
loaded.
(ps-print-version): New version number (5.0.1).
(ps-header-dirpart): Now uses abbreviate-file-name.
| -rw-r--r-- | lisp/ChangeLog | 7 | ||||
| -rw-r--r-- | lisp/ps-print.el | 35 |
2 files changed, 27 insertions, 15 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index d5015de03fd..b6df37ceec8 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,10 @@ | |||
| 1 | 1999-11-23 Vinicius Jose Latorre <vinicius@cpqd.com.br> | ||
| 2 | |||
| 3 | * ps-print.el: Define mule funs without checking if mule package is | ||
| 4 | loaded. | ||
| 5 | (ps-print-version): New version number (5.0.1). | ||
| 6 | (ps-header-dirpart): Now uses abbreviate-file-name. | ||
| 7 | |||
| 1 | 1999-11-23 Dave Love <fx@gnu.org> | 8 | 1999-11-23 Dave Love <fx@gnu.org> |
| 2 | 9 | ||
| 3 | * fortran.el (fortran-comment-line-start): Renamed from | 10 | * fortran.el (fortran-comment-line-start): Renamed from |
diff --git a/lisp/ps-print.el b/lisp/ps-print.el index 239fb828d9c..1f68b6e46eb 100644 --- a/lisp/ps-print.el +++ b/lisp/ps-print.el | |||
| @@ -9,11 +9,11 @@ | |||
| 9 | ;; Maintainer: Kenichi Handa <handa@etl.go.jp> (multi-byte characters) | 9 | ;; Maintainer: Kenichi Handa <handa@etl.go.jp> (multi-byte characters) |
| 10 | ;; Maintainer: Vinicius Jose Latorre <vinicius@cpqd.com.br> | 10 | ;; Maintainer: Vinicius Jose Latorre <vinicius@cpqd.com.br> |
| 11 | ;; Keywords: wp, print, PostScript | 11 | ;; Keywords: wp, print, PostScript |
| 12 | ;; Time-stamp: <99/07/03 20:16:48 vinicius> | 12 | ;; Time-stamp: <99/10/18 01:53:12 vinicius> |
| 13 | ;; Version: 5.0 | 13 | ;; Version: 5.0.1 |
| 14 | 14 | ||
| 15 | (defconst ps-print-version "5.0" | 15 | (defconst ps-print-version "5.0.1" |
| 16 | "ps-print.el, v 5.0 <99/07/03 vinicius> | 16 | "ps-print.el, v 5.0.1 <99/10/18 vinicius> |
| 17 | 17 | ||
| 18 | Vinicius's last change version -- this file may have been edited as part of | 18 | Vinicius's last change version -- this file may have been edited as part of |
| 19 | Emacs without changes to the version number. When reporting bugs, | 19 | Emacs without changes to the version number. When reporting bugs, |
| @@ -1056,17 +1056,22 @@ Please send all bug fixes and enhancements to | |||
| 1056 | (unless (featurep 'lisp-float-type) | 1056 | (unless (featurep 'lisp-float-type) |
| 1057 | (error "`ps-print' requires floating point support")) | 1057 | (error "`ps-print' requires floating point support")) |
| 1058 | 1058 | ||
| 1059 | |||
| 1059 | ;; For Emacs 20.2 and the earlier version. | 1060 | ;; For Emacs 20.2 and the earlier version. |
| 1060 | (eval-and-compile | 1061 | |
| 1061 | (and (boundp 'mule-version) ; only if mule package is loaded | 1062 | (or (fboundp 'set-buffer-multibyte) |
| 1062 | (string< mule-version "4.0") | 1063 | (defun set-buffer-multibyte (arg) |
| 1063 | (progn | 1064 | (setq enable-multibyte-characters arg))) |
| 1064 | (defun set-buffer-multibyte (arg) | 1065 | |
| 1065 | (setq enable-multibyte-characters arg)) | 1066 | (or (fboundp 'string-as-unibyte) |
| 1066 | (defun string-as-unibyte (arg) arg) | 1067 | (defun string-as-unibyte (arg) arg)) |
| 1067 | (defun string-as-multibyte (arg) arg) | 1068 | |
| 1068 | (defun charset-after (&optional arg) | 1069 | (or (fboundp 'string-as-multibyte) |
| 1069 | (char-charset (char-after arg)))))) | 1070 | (defun string-as-multibyte (arg) arg)) |
| 1071 | |||
| 1072 | (or (fboundp 'charset-after) | ||
| 1073 | (defun charset-after (&optional arg) | ||
| 1074 | (char-charset (char-after arg)))) | ||
| 1070 | 1075 | ||
| 1071 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 1076 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| 1072 | ;; User Variables: | 1077 | ;; User Variables: |
| @@ -4433,7 +4438,7 @@ XSTART YSTART are the relative position for the first page in a sheet.") | |||
| 4433 | (let ((fname (buffer-file-name))) | 4438 | (let ((fname (buffer-file-name))) |
| 4434 | (if fname | 4439 | (if fname |
| 4435 | (if (string-equal (buffer-name) (file-name-nondirectory fname)) | 4440 | (if (string-equal (buffer-name) (file-name-nondirectory fname)) |
| 4436 | (file-name-directory fname) | 4441 | (abbreviate-file-name (file-name-directory fname)) |
| 4437 | fname) | 4442 | fname) |
| 4438 | ""))) | 4443 | ""))) |
| 4439 | 4444 | ||