diff options
| author | Simon Marshall | 1997-04-28 11:25:26 +0000 |
|---|---|---|
| committer | Simon Marshall | 1997-04-28 11:25:26 +0000 |
| commit | 055e7bf2d2915b8c2d74c07e5f8cbdef15b3a600 (patch) | |
| tree | 17fa25b5238799f5148d5f535a2653b3583ef2ab | |
| parent | 54d893e33b3d76bb1b222a3d363d4b6ecc7a12cd (diff) | |
| download | emacs-055e7bf2d2915b8c2d74c07e5f8cbdef15b3a600.tar.gz emacs-055e7bf2d2915b8c2d74c07e5f8cbdef15b3a600.zip | |
change all buffer-substring to buffer-substring-no-properties.
| -rw-r--r-- | lisp/ps-print.el | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lisp/ps-print.el b/lisp/ps-print.el index 864c087086f..75c858fc5cd 100644 --- a/lisp/ps-print.el +++ b/lisp/ps-print.el | |||
| @@ -2335,7 +2335,7 @@ EndDSCPage\n")) | |||
| 2335 | (defun ps-basic-plot-string (from to &optional bg-color) | 2335 | (defun ps-basic-plot-string (from to &optional bg-color) |
| 2336 | (let* ((wrappoint (ps-find-wrappoint from to ps-avg-char-width)) | 2336 | (let* ((wrappoint (ps-find-wrappoint from to ps-avg-char-width)) |
| 2337 | (to (car wrappoint)) | 2337 | (to (car wrappoint)) |
| 2338 | (string (buffer-substring from to))) | 2338 | (string (buffer-substring-no-properties from to))) |
| 2339 | (ps-output-string string) | 2339 | (ps-output-string string) |
| 2340 | (ps-output " S\n") | 2340 | (ps-output " S\n") |
| 2341 | wrappoint)) | 2341 | wrappoint)) |
| @@ -2858,7 +2858,7 @@ EndDSCPage\n")) | |||
| 2858 | (save-excursion | 2858 | (save-excursion |
| 2859 | (goto-char (point-min)) | 2859 | (goto-char (point-min)) |
| 2860 | (if (re-search-forward "^Subject:[ \t]+\\(.*\\)$" nil t) | 2860 | (if (re-search-forward "^Subject:[ \t]+\\(.*\\)$" nil t) |
| 2861 | (buffer-substring (match-beginning 1) (match-end 1)) | 2861 | (buffer-substring-no-properties (match-beginning 1) (match-end 1)) |
| 2862 | "Subject ???"))) | 2862 | "Subject ???"))) |
| 2863 | 2863 | ||
| 2864 | ;; Look in an article or mail message for the From: line. Sorta-kinda | 2864 | ;; Look in an article or mail message for the From: line. Sorta-kinda |
| @@ -2868,7 +2868,7 @@ EndDSCPage\n")) | |||
| 2868 | (save-excursion | 2868 | (save-excursion |
| 2869 | (goto-char (point-min)) | 2869 | (goto-char (point-min)) |
| 2870 | (if (re-search-forward "^From:[ \t]+\\(.*\\)$" nil t) | 2870 | (if (re-search-forward "^From:[ \t]+\\(.*\\)$" nil t) |
| 2871 | (let ((fromstring (buffer-substring (match-beginning 1) (match-end 1)))) | 2871 | (let ((fromstring (buffer-substring-no-properties (match-beginning 1) (match-end 1)))) |
| 2872 | (cond | 2872 | (cond |
| 2873 | 2873 | ||
| 2874 | ;; Try first to match addresses that look like | 2874 | ;; Try first to match addresses that look like |
| @@ -2941,7 +2941,7 @@ EndDSCPage\n")) | |||
| 2941 | (save-excursion | 2941 | (save-excursion |
| 2942 | (goto-char (point-min)) | 2942 | (goto-char (point-min)) |
| 2943 | (if (re-search-forward "File:[ \t]+\\([^, \t\n]*\\)" nil t) | 2943 | (if (re-search-forward "File:[ \t]+\\([^, \t\n]*\\)" nil t) |
| 2944 | (buffer-substring (match-beginning 1) (match-end 1)) | 2944 | (buffer-substring-no-properties (match-beginning 1) (match-end 1)) |
| 2945 | "File ???"))) | 2945 | "File ???"))) |
| 2946 | 2946 | ||
| 2947 | ;; Look in an article or mail message for the Subject: line. To be | 2947 | ;; Look in an article or mail message for the Subject: line. To be |
| @@ -2950,7 +2950,7 @@ EndDSCPage\n")) | |||
| 2950 | (save-excursion | 2950 | (save-excursion |
| 2951 | (goto-char (point-min)) | 2951 | (goto-char (point-min)) |
| 2952 | (if (re-search-forward "Node:[ \t]+\\([^,\t\n]*\\)" nil t) | 2952 | (if (re-search-forward "Node:[ \t]+\\([^,\t\n]*\\)" nil t) |
| 2953 | (buffer-substring (match-beginning 1) (match-end 1)) | 2953 | (buffer-substring-no-properties (match-beginning 1) (match-end 1)) |
| 2954 | "Node ???"))) | 2954 | "Node ???"))) |
| 2955 | 2955 | ||
| 2956 | (defun ps-info-mode-hook () | 2956 | (defun ps-info-mode-hook () |