From 42afed7ca43ace4fcb7e2a5eb48aaf007866ae24 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Wed, 20 Oct 1999 13:55:59 +0000 Subject: [PATCH] (dired-move-to-filename-regexp): Fix long comment lines that were split so that part of the comment appeared as Lisp code. --- lisp/ChangeLog | 5 +++++ lisp/dired.el | 9 +++------ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 4ac1340ff7b..7da51a8e0c1 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +1999-10-20 Gerd Moellmann + + * dired.el (dired-move-to-filename-regexp): Fix long comment lines + that were split so that part of the comment appeared as Lisp code. + 1999-10-20 Vinicius Jose Latorre * ps-bdf.el: Doc fix. diff --git a/lisp/dired.el b/lisp/dired.el index 52d945f1238..895c95fc78e 100644 --- a/lisp/dired.el +++ b/lisp/dired.el @@ -1410,14 +1410,11 @@ DIR must be a directory name, not a file name." s "\\(" HH:MM "\\|" s "?" yyyy "\\|" yyyy s "\\)")) (japanese (concat mm k s dd k s "\\(" s HH:MM "\\|" yyyy k "\\)"))) - ;; The "[0-9]" below requires the previous column to end in a -digit. + ;; The "[0-9]" below requires the previous column to end in a digit. ;; This avoids recognizing `1 may 1997' as a date in the line: ;; -r--r--r-- 1 may 1997 1168 Oct 19 16:49 README - ;; The ".*" below finds the last match if there are multiple -matches. - ;; This avoids recognizing `jservice 10 1024' as a date in the -line: + ;; The ".*" below finds the last match if there are multiple matches. + ;; This avoids recognizing `jservice 10 1024' as a date in the line: ;; drwxr-xr-x 3 jservice 10 1024 Jul 2 1997 esg-host (concat ".*[0-9]" s "\\(" western "\\|" japanese "\\)" s)) "Regular expression to match up to the file name in a directory listing. -- 2.39.5