summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2014-04-30 19:59:03 +0300
committerEli Zaretskii <eliz@gnu.org>2014-04-30 19:59:03 +0300
commit72962dd88224fe01ea392482017bbf179a621a8e (patch)
treefcb7ed39beb13f6b0067ca07f7704ba36ae58fd7
parentf828c69dba3665e88493d103c92184d52bb6fa50 (diff)
downloademacs-72962dd88224fe01ea392482017bbf179a621a8e.tar.gz
Minor fixes for dired.el doc strings.
lisp/dired.el (dired-initial-position-hook, dired-initial-position): Doc string fixes.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/dired.el4
2 files changed, 7 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index f7e1fd4cea8..769d06028b4 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2014-04-30 Eli Zaretskii <eliz@gnu.org>
+
+ * dired.el (dired-initial-position-hook, dired-initial-position):
+ Doc string fixes.
+
2014-04-29 Glenn Morris <rgm@gnu.org>
* mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
diff --git a/lisp/dired.el b/lisp/dired.el
index 1cce5bc6665..3b986e99f60 100644
--- a/lisp/dired.el
+++ b/lisp/dired.el
@@ -222,7 +222,7 @@ with the buffer narrowed to the listing."
(defcustom dired-initial-position-hook nil
"This hook is used to position the point.
-It is run the function `dired-initial-position'."
+It is run by the function `dired-initial-position'."
:group 'dired
:type 'hook
:version "24.4")
@@ -2768,7 +2768,7 @@ as returned by `dired-get-filename'. LIMIT is the search limit."
;; FIXME document whatever dired-x is doing.
(defun dired-initial-position (dirname)
"Where point should go in a new listing of DIRNAME.
-Point assumed at beginning of new subdir line.
+Point is assumed to be at the beginning of new subdir line.
It runs the hook `dired-initial-position-hook'."
(end-of-line)
(and (featurep 'dired-x) dired-find-subdir