]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix a vtable example
authorLars Ingebrigtsen <larsi@gnus.org>
Sat, 19 Feb 2022 13:48:39 +0000 (14:48 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Sat, 19 Feb 2022 13:48:39 +0000 (14:48 +0100)
* doc/misc/vtable.texi (Introduction): Fix example.

doc/misc/vtable.texi

index 1b0525e78a0f73a6c940f9d01c31016c43ada5c9..46d038b075291f60d19c1dac8e94c13a5b58313d 100644 (file)
@@ -181,8 +181,7 @@ Finally, here's an example that uses just about all the features:
             (:name "Time" :width 10 :primary ascend :direction 'descend)
             "Name")
  :objects-function (lambda ()
-                     (directory-files "~/pics/redslur/"
-                                      t "DSC0000[0-5].JPG"))
+                     (directory-files "/tmp/" t "\\.jpg\\'"))
  :actions '("RET" find-file)
  :getter (lambda (object column table)
            (pcase (vtable-column table column)