emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

doc-string typos


From: martin rudalics
Subject: doc-string typos
Date: Tue, 10 Oct 2006 15:10:08 +0200

        * dnd.el (dnd-handle-one-url): Fix typo in doc-string.
        * help-at-pt.el (scan-buf-move-to-region): Likewise.
        * longlines.el (longlines-window-change-function): Likewise.
        * simple.el (undo-ask-before-discard): Likewise.
        * wid-edit.el (widget-field-prompt-internal)
        (widget-documentation-link-p): Likewise.


*** dnd.el.~1.12.~      Sat Sep 23 11:08:56 2006
--- dnd.el      Sat Oct  7 15:40:00 2006
***************
*** 91,97 ****
  If no match is found here, and the value of `browse-url-browser-function'
  is a pair of (REGEXP . FUNCTION), those regexps are tried for a match.
  If no match is found, just call `dnd-insert-text'.
! WINDOW is where the drop happend, ACTION is the action for the drop,
  URL is what has been dropped.
  Returns ACTION."
    (require 'browse-url)
--- 91,97 ----
  If no match is found here, and the value of `browse-url-browser-function'
  is a pair of (REGEXP . FUNCTION), those regexps are tried for a match.
  If no match is found, just call `dnd-insert-text'.
! WINDOW is where the drop happened, ACTION is the action for the drop,
  URL is what has been dropped.
  Returns ACTION."
    (require 'browse-url)


*** help-at-pt.el.~1.12.~       Tue Apr 11 16:23:48 2006
--- help-at-pt.el       Sat Oct  7 15:39:08 2006
***************
*** 246,252 ****
  (defun scan-buf-move-to-region (prop &optional arg hook)
    "Go to the start of the next region with non-nil PROP property.
  Then run HOOK, which should be a quoted symbol that is a normal
! hook.variable, or an expression evaluating to such a symbol.
  Adjacent areas with different non-nil PROP properties are
  considered different regions.

--- 246,252 ----
  (defun scan-buf-move-to-region (prop &optional arg hook)
    "Go to the start of the next region with non-nil PROP property.
  Then run HOOK, which should be a quoted symbol that is a normal
! hook variable, or an expression evaluating to such a symbol.
  Adjacent areas with different non-nil PROP properties are
  considered different regions.

*** longlines.el.~1.29.~        Tue Aug 15 10:00:52 2006
--- longlines.el        Sat Oct  7 15:37:50 2006
***************
*** 410,416 ****

  (defun longlines-window-change-function ()
    "Re-wrap the buffer if the window width has changed.
! This is called by `window-size-change-functions'."
    (when (/= fill-column (- (window-width) window-min-width))
      (setq fill-column (- (window-width) window-min-width))
      (let ((mod (buffer-modified-p)))
--- 410,416 ----

  (defun longlines-window-change-function ()
    "Re-wrap the buffer if the window width has changed.
! 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)))


*** simple.el.~1.831.~  Mon Oct  2 18:38:40 2006
--- simple.el   Sat Oct  7 15:40:44 2006
***************
*** 1675,1681 ****
  Normally, Emacs discards the undo info for the current command if
  it exceeds `undo-outer-limit'.  But if you set this option
  non-nil, it asks in the echo area whether to discard the info.
! If you answer no, there a slight risk that Emacs might crash, so
  only do it if you really want to undo the command.

  This option is mainly intended for debugging.  You have to be
--- 1675,1681 ----
  Normally, Emacs discards the undo info for the current command if
  it exceeds `undo-outer-limit'.  But if you set this option
  non-nil, it asks in the echo area whether to discard the info.
! If you answer no, there is a slight risk that Emacs might crash, so
  only do it if you really want to undo the command.

  This option is mainly intended for debugging.  You have to be


*** wid-edit.el.~1.168.~        Mon Oct  2 18:38:40 2006
--- wid-edit.el Sat Oct  7 15:45:14 2006
***************
*** 1873,1879 ****
    "History of field minibuffer edits.")

  (defun widget-field-prompt-internal (widget prompt initial history)
!   "Read string for WIDGET promptinhg with PROMPT.
  INITIAL is the initial input and HISTORY is a symbol containing
  the earlier input."
    (read-string prompt initial history))
--- 1873,1879 ----
    "History of field minibuffer edits.")

  (defun widget-field-prompt-internal (widget prompt initial history)
!   "Read string for WIDGET prompting with PROMPT.
  INITIAL is the initial input and HISTORY is a symbol containing
  the earlier input."
    (read-string prompt initial history))
***************
*** 2864,2870 ****

  (defcustom widget-documentation-link-p 'intern-soft
    "Predicate used to test if a string is useful as a link.
! The value should be a function.  The function will be called one
  argument, a string, and should return non-nil if there should be a
  link for that string."
    :type 'function
--- 2864,2870 ----

  (defcustom widget-documentation-link-p 'intern-soft
    "Predicate used to test if a string is useful as a link.
! The value should be a function.  The function will be called with one
  argument, a string, and should return non-nil if there should be a
  link for that string."
    :type 'function




reply via email to

[Prev in Thread] Current Thread [Next in Thread]