diff options
| -rw-r--r-- | lisp/gnus/gnus-start.el | 1 | ||||
| -rw-r--r-- | lisp/gnus/gnus-util.el | 23 |
2 files changed, 11 insertions, 13 deletions
diff --git a/lisp/gnus/gnus-start.el b/lisp/gnus/gnus-start.el index 409fd442dd1..784a4e4195f 100644 --- a/lisp/gnus/gnus-start.el +++ b/lisp/gnus/gnus-start.el | |||
| @@ -2871,7 +2871,6 @@ SPECIFIC-VARIABLES, or those in `gnus-variable-list'." | |||
| 2871 | (nth 1 (gethash g gnus-newsrc-hashtb))) | 2871 | (nth 1 (gethash g gnus-newsrc-hashtb))) |
| 2872 | (delete "dummy.group" gnus-group-list))) | 2872 | (delete "dummy.group" gnus-group-list))) |
| 2873 | (let* ((print-quoted t) | 2873 | (let* ((print-quoted t) |
| 2874 | (print-readably t) | ||
| 2875 | (print-escape-multibyte nil) | 2874 | (print-escape-multibyte nil) |
| 2876 | (print-escape-nonascii t) | 2875 | (print-escape-nonascii t) |
| 2877 | (print-length nil) | 2876 | (print-length nil) |
diff --git a/lisp/gnus/gnus-util.el b/lisp/gnus/gnus-util.el index 42021d30730..ce5b2a155f5 100644 --- a/lisp/gnus/gnus-util.el +++ b/lisp/gnus/gnus-util.el | |||
| @@ -690,13 +690,12 @@ yield \"nnimap:yxa\"." | |||
| 690 | 690 | ||
| 691 | (defmacro gnus-bind-print-variables (&rest forms) | 691 | (defmacro gnus-bind-print-variables (&rest forms) |
| 692 | "Bind print-* variables and evaluate FORMS. | 692 | "Bind print-* variables and evaluate FORMS. |
| 693 | This macro is used with `prin1', `pp', etc. in order to ensure printed | 693 | This macro is used with `prin1', `pp', etc. in order to ensure |
| 694 | Lisp objects are loadable. Bind `print-quoted' and `print-readably' | 694 | printed Lisp objects are loadable. Bind `print-quoted' to t, and |
| 695 | to t, and `print-escape-multibyte', `print-escape-newlines', | 695 | `print-escape-multibyte', `print-escape-newlines', |
| 696 | `print-escape-nonascii', `print-length', `print-level' and | 696 | `print-escape-nonascii', `print-length', `print-level' and |
| 697 | `print-string-length' to nil." | 697 | `print-string-length' to nil." |
| 698 | `(let ((print-quoted t) | 698 | `(let ((print-quoted t) |
| 699 | (print-readably t) | ||
| 700 | ;;print-circle | 699 | ;;print-circle |
| 701 | ;;print-continuous-numbering | 700 | ;;print-continuous-numbering |
| 702 | print-escape-multibyte | 701 | print-escape-multibyte |
| @@ -710,26 +709,26 @@ to t, and `print-escape-multibyte', `print-escape-newlines', | |||
| 710 | 709 | ||
| 711 | (defun gnus-prin1 (form) | 710 | (defun gnus-prin1 (form) |
| 712 | "Use `prin1' on FORM in the current buffer. | 711 | "Use `prin1' on FORM in the current buffer. |
| 713 | Bind `print-quoted' and `print-readably' to t, and `print-length' and | 712 | Bind `print-quoted' to t, and `print-length' and `print-level' to |
| 714 | `print-level' to nil. See also `gnus-bind-print-variables'." | 713 | nil. See also `gnus-bind-print-variables'." |
| 715 | (gnus-bind-print-variables (prin1 form (current-buffer)))) | 714 | (gnus-bind-print-variables (prin1 form (current-buffer)))) |
| 716 | 715 | ||
| 717 | (defun gnus-prin1-to-string (form) | 716 | (defun gnus-prin1-to-string (form) |
| 718 | "The same as `prin1'. | 717 | "The same as `prin1'. |
| 719 | Bind `print-quoted' and `print-readably' to t, and `print-length' and | 718 | Bind `print-quoted' to t, and `print-length' and `print-level' to |
| 720 | `print-level' to nil. See also `gnus-bind-print-variables'." | 719 | nil. See also `gnus-bind-print-variables'." |
| 721 | (gnus-bind-print-variables (prin1-to-string form))) | 720 | (gnus-bind-print-variables (prin1-to-string form))) |
| 722 | 721 | ||
| 723 | (defun gnus-pp (form &optional stream) | 722 | (defun gnus-pp (form &optional stream) |
| 724 | "Use `pp' on FORM in the current buffer. | 723 | "Use `pp' on FORM in the current buffer. |
| 725 | Bind `print-quoted' and `print-readably' to t, and `print-length' and | 724 | Bind `print-quoted' to t, and `print-length' and `print-level' to |
| 726 | `print-level' to nil. See also `gnus-bind-print-variables'." | 725 | nil. See also `gnus-bind-print-variables'." |
| 727 | (gnus-bind-print-variables (pp form (or stream (current-buffer))))) | 726 | (gnus-bind-print-variables (pp form (or stream (current-buffer))))) |
| 728 | 727 | ||
| 729 | (defun gnus-pp-to-string (form) | 728 | (defun gnus-pp-to-string (form) |
| 730 | "The same as `pp-to-string'. | 729 | "The same as `pp-to-string'. |
| 731 | Bind `print-quoted' and `print-readably' to t, and `print-length' and | 730 | Bind `print-quoted' to t, and `print-length' and `print-level' to |
| 732 | `print-level' to nil. See also `gnus-bind-print-variables'." | 731 | nil. See also `gnus-bind-print-variables'." |
| 733 | (gnus-bind-print-variables (pp-to-string form))) | 732 | (gnus-bind-print-variables (pp-to-string form))) |
| 734 | 733 | ||
| 735 | (defun gnus-make-directory (directory) | 734 | (defun gnus-make-directory (directory) |