]> git.eshelyaron.com Git - emacs.git/commitdiff
* dired.el (dired-get-marked-files): Clarify doc.
authorLars Ingebrigtsen <larsi@gnus.org>
Tue, 11 Feb 2014 11:16:38 +0000 (03:16 -0800)
committerLars Ingebrigtsen <larsi@gnus.org>
Tue, 11 Feb 2014 11:16:38 +0000 (03:16 -0800)
Fixes: debbugs:11534
lisp/ChangeLog
lisp/dired.el

index 94c647b4b6f7aaa1627dce723cf43fe4cf46cfbe..3173683809759d342acce21be4e7dd933ca3a427 100644 (file)
@@ -1,3 +1,7 @@
+2014-02-11  Lars Ingebrigtsen  <larsi@gnus.org>
+
+       * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
+
 2014-02-10  Glenn Morris  <rgm@gnu.org>
 
        * jit-lock.el (jit-lock-force-redisplay): Doc fix.  (Bug#14394)
index 0d66a78ee30ac1b80da622934f19a70dcf7cc3bf..faa39ab5d6c02a69ab02c4394d6ae8dbebf2fe74 100644 (file)
@@ -634,7 +634,8 @@ Optional second argument ARG, if non-nil, specifies files near
  point instead of marked files.  It usually comes from the prefix
  argument.
   If ARG is an integer, use the next ARG files.
-  Any other value means to use the current file instead.
+  If ARG is any other non-nil value, return the current file name.
+  If no files are marked, and ARG is nil, also return the current file name.
 Optional third argument FILTER, if non-nil, is a function to select
   some of the files--those for which (funcall FILTER FILENAME) is non-nil.