diff options
| author | Vinicius Jose Latorre | 2004-05-06 03:47:19 +0000 |
|---|---|---|
| committer | Vinicius Jose Latorre | 2004-05-06 03:47:19 +0000 |
| commit | bd20e8cd66215216d7ae396ce35b16dd2fc1a7e1 (patch) | |
| tree | b6bda3cdf2ef1bbaed8d41d2246d61041c9bd15f | |
| parent | 51138c946f09b6987ee7ffd6c964a5c7bca34fcf (diff) | |
| download | emacs-bd20e8cd66215216d7ae396ce35b16dd2fc1a7e1.tar.gz emacs-bd20e8cd66215216d7ae396ce35b16dd2fc1a7e1.zip | |
New fun.
| -rw-r--r-- | lisp/ps-print.el | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lisp/ps-print.el b/lisp/ps-print.el index 620398ac3b9..d6042a9763c 100644 --- a/lisp/ps-print.el +++ b/lisp/ps-print.el | |||
| @@ -3501,6 +3501,7 @@ The table depends on the current ps-print setup." | |||
| 3501 | #'ps-print-quote | 3501 | #'ps-print-quote |
| 3502 | (list | 3502 | (list |
| 3503 | (concat "\n;;; ps-print version " ps-print-version "\n") | 3503 | (concat "\n;;; ps-print version " ps-print-version "\n") |
| 3504 | (ps-comment-string "ps-print-emacs-type" ps-print-emacs-type) | ||
| 3504 | '(25 . ps-print-color-p) | 3505 | '(25 . ps-print-color-p) |
| 3505 | '(25 . ps-lpr-command) | 3506 | '(25 . ps-lpr-command) |
| 3506 | '(25 . ps-lpr-switches) | 3507 | '(25 . ps-lpr-switches) |
| @@ -3674,6 +3675,11 @@ If `ps-prefix-quote' is nil, it's set to t after generating string." | |||
| 3674 | (format "%S" val)))) | 3675 | (format "%S" val)))) |
| 3675 | 3676 | ||
| 3676 | 3677 | ||
| 3678 | (defun ps-comment-string (str value) | ||
| 3679 | "Return a comment string like \";; STR = VALUE\\n\"." | ||
| 3680 | (concat ";; " str " = " (ps-value-string value) "\n")) | ||
| 3681 | |||
| 3682 | |||
| 3677 | (defun ps-value (alist-sym key) | 3683 | (defun ps-value (alist-sym key) |
| 3678 | "Return value from association list ALIST-SYM which car is `eq' to KEY." | 3684 | "Return value from association list ALIST-SYM which car is `eq' to KEY." |
| 3679 | (cdr (assq key (symbol-value alist-sym)))) | 3685 | (cdr (assq key (symbol-value alist-sym)))) |