changeset 52430:8ab45ba34207

(ruler-mode-fill-column-char) (ruler-mode-current-column-char): Use char-displayable-p, not window-system.
author Dave Love <fx@gnu.org>
date Thu, 04 Sep 2003 16:23:25 +0000
parents 780f2d29c5f1
children 636f7f77eb84
files lisp/ruler-mode.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ruler-mode.el	Thu Sep 04 16:01:15 2003 +0000
+++ b/lisp/ruler-mode.el	Thu Sep 04 16:23:25 2003 +0000
@@ -135,7 +135,7 @@
                     (format "Invalid character value: %S" value))
         widget))))
 
-(defcustom ruler-mode-fill-column-char (if window-system
+(defcustom ruler-mode-fill-column-char (if (char-displayable-p ?¶)
                                            ?\¶
                                          ?\|)
   "*Character used at the `fill-column' location."
@@ -161,7 +161,7 @@
           (integer :tag "Integer char value"
                    :validate ruler-mode-character-validate)))
 
-(defcustom ruler-mode-current-column-char (if window-system
+(defcustom ruler-mode-current-column-char (if (char-displayable-p ?¦)
                                               ?\¦
                                             ?\@)
   "*Character used at the `current-column' location."