# HG changeset patch # User Glenn Morris # Date 1182118798 0 # Node ID e12f9e8fde4df04f187bc0fb84793578fd7c8264 # Parent 8635833d5e110df95afdabd461b217f70ec16493 (lpr-page-header-switches): Move %s to separate element for correct quoting. Doc fix. diff -r 8635833d5e11 -r e12f9e8fde4d lisp/lpr.el --- a/lisp/lpr.el Sun Jun 17 22:19:25 2007 +0000 +++ b/lisp/lpr.el Sun Jun 17 22:19:58 2007 +0000 @@ -140,9 +140,10 @@ ;; Berkeley systems support -F, and GNU pr supports both -f and -F, ;; So it looks like -F is a better default. -(defcustom lpr-page-header-switches '("-h %s" "-F") +(defcustom lpr-page-header-switches '("-h" "%s" "-F") "*List of strings to use as options for the page-header-generating program. -If `%s' appears in one of the strings, it is substituted by the page title. +If `%s' appears in any of the strings, it is substituted by the page title. +Note that for correct quoting, `%s' should normally be a separate element. The variable `lpr-page-header-program' specifies the program to use." :type '(repeat string) :group 'lpr)