diff lisp/simple.el @ 771:943eaba38521

[xemacs-hg @ 2002-03-13 08:51:24 by ben] The big ben-mule-21-5 check-in! Various files were added and deleted. See CHANGES-ben-mule. There are still some test suite failures. No crashes, though. Many of the failures have to do with problems in the test suite itself rather than in the actual code. I'll be addressing these in the next day or so -- none of the test suite failures are at all critical. Meanwhile I'll be trying to address the biggest issues -- i.e. build or run failures, which will almost certainly happen on various platforms. All comments should be sent to ben@xemacs.org -- use a Cc: if necessary when sending to mailing lists. There will be pre- and post- tags, something like pre-ben-mule-21-5-merge-in, and post-ben-mule-21-5-merge-in.
author ben
date Wed, 13 Mar 2002 08:54:06 +0000
parents 023b83f4e54b
children 79940b592197
line wrap: on
line diff
--- a/lisp/simple.el	Fri Mar 08 13:33:14 2002 +0000
+++ b/lisp/simple.el	Wed Mar 13 08:54:06 2002 +0000
@@ -2,7 +2,7 @@
 
 ;; Copyright (C) 1985-7, 1993-5, 1997 Free Software Foundation, Inc.
 ;; Copyright (C) 1995 Tinker Systems and INS Engineering Corp.
-;; Copyright (C) 2000 Ben Wing.
+;; Copyright (C) 2000, 2001, 2002 Ben Wing.
 
 ;; Maintainer: XEmacs Development Team
 ;; Keywords: lisp, extensions, internal, dumped
@@ -902,7 +902,8 @@
 	(re-search-forward "[\n\C-m]" nil 'end (1- line))
       (forward-line (1- line)))))
 
-;Put this on C-x u, so we can force that rather than C-_ into startup msg
+;[Put this on C-x u, so we can force that rather than C-_ into startup msg]
+;No more, stop pandering to TTY users.
 (define-function 'advertised-undo 'undo)
 
 (defun undo (&optional count)
@@ -3046,9 +3047,6 @@
 The function should take a single optional argument which is a flag
 indicating whether soft newlines should be inserted.")
 
-;; defined in mule-base/mule-category.el
-(defvar word-across-newline)
-
 ;; This function is the auto-fill-function of a buffer
 ;; when Auto-Fill mode is enabled.
 ;; It returns t if it really did any work.
@@ -3066,8 +3064,9 @@
 		       bounce
 		       (re-break-point ;; Kinsoku processing
 			(if (featurep 'mule)
-			    (concat "[ \t\n]\\|" word-across-newline
-				    ".\\|." word-across-newline)
+			    (with-boundp 'word-across-newline
+			      (concat "[ \t\n]\\|" word-across-newline
+				      ".\\|." word-across-newline))
 			  "[ \t\n]"))
 		       (first t))
 		   (save-excursion
@@ -3476,7 +3475,7 @@
 	    'overwrite-mode-binary))
   (redraw-modeline))
 
-(defcustom line-number-mode nil
+(defcustom line-number-mode t
   "*Non-nil means display line number in modeline."
   :type 'boolean
   :group 'editing-basics)
@@ -3492,7 +3491,7 @@
 	  (> (prefix-numeric-value arg) 0)))
   (redraw-modeline))
 
-(defcustom column-number-mode nil
+(defcustom column-number-mode t
   "*Non-nil means display column number in mode line."
   :type 'boolean
   :group 'editing-basics)