Commit a3545af4 authored by Jan Djärv's avatar Jan Djärv
Browse files

* 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
parent 90e4b32d
2006-10-11 Martin Rudalics <rudalics@gmx.at>
* 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
2006-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
* progmodes/sh-script.el (sh-get-kw): | is not among the allowed chars
......@@ -91,7 +91,7 @@ The handler is first located by looking at `dnd-protocol-alist'.
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,
WINDOW is where the drop happened, ACTION is the action for the drop,
URL is what has been dropped.
Returns ACTION."
(require 'browse-url)
......
......@@ -246,7 +246,7 @@ properties, to enable buffer local values."
(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.
hook variable, or an expression evaluating to such a symbol.
Adjacent areas with different non-nil PROP properties are
considered different regions.
......
......@@ -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)))
......
......@@ -1675,7 +1675,7 @@ is not *inside* the region START...END."
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
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
......
......@@ -1873,7 +1873,7 @@ If END is omitted, it defaults to the length of LIST."
"History of field minibuffer edits.")
(defun widget-field-prompt-internal (widget prompt initial history)
"Read string for WIDGET promptinhg with PROMPT.
"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,7 +2864,7 @@ The first group should be the link itself."
(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
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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment