]> code.delx.au - gnu-emacs/blobdiff - lisp/longlines.el
*** empty log message ***
[gnu-emacs] / lisp / longlines.el
index 77e0b415344961ee8ccadf3d015450ad544854e9..e8ab4fbdd88c0f319329d6ea9c269d424d29e0be 100644 (file)
@@ -1,6 +1,6 @@
 ;;; longlines.el --- automatically wrap long lines
 
-;; Copyright (C) 2000, 2001, 2004, 2005, 2006 Free Software Foundation, Inc.
+;; Copyright (C) 2000, 2001, 2004, 2005, 2006, 2007 Free Software Foundation, Inc.
 
 ;; Authors:    Kai Grossjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
 ;;             Alex Schroeder <alex@gnu.org>
@@ -63,7 +63,7 @@ with differing widths."
   "Non-nil means each hard newline is marked on the screen.
 \(The variable `longlines-show-effect' controls what they look like.)
 You can also enable the display temporarily, using the command
-`longlines-show-hard-newlines'"
+`longlines-show-hard-newlines'."
   :group 'longlines
   :type 'boolean)
 
@@ -258,7 +258,7 @@ not need to be wrapped, move point to the next line and return t."
                     (if (> longlines-wrap-point (point))
                         (setq longlines-wrap-point
                               (1- longlines-wrap-point))))
-                (insert-before-markers-and-inherit ?\ )
+                (insert-before-markers-and-inherit ?\s)
                 (backward-char 1)
                 (delete-char -1)
                 (forward-char 1))
@@ -410,7 +410,7 @@ This is called by `post-command-hook' after each command."
 
 (defun longlines-window-change-function ()
   "Re-wrap the buffer if the window width has changed.
-This is called by `window-size-change-functions'."
+This is called by `window-configuration-change-hook'."
   (when (/= fill-column (- (window-width) window-min-width))
     (setq fill-column (- (window-width) window-min-width))
     (let ((mod (buffer-modified-p)))