2001-10-09 Miles Bader <miles@gnu.org>
+ * rfn-eshadow.el (rfn-eshadow-regexp): Deal correctly with escaped
+ dollar-signs.
+
+ * comint.el (comint-insert-previous-argument): New function.
+ (comint-mode-map): Bind `C-c .' to `comint-input-previous-argument'.
+ (comint-insert-previous-argument-last-start-pos)
+ (comint-insert-previous-argument-last-index): New variables.
+
* apropos.el (apropos-next-label-button): Use the presence of a
`apropos-label' property to detect label buttons.
;; This horrible regexp considers the following patterns as
;; starting an absolute pathname, when following a `/' or an `\':
;; L: / // ~ $ \\ \\\\
- "\\(.*[^/]+/+?\\|/*?\\|\\)\\([$~]\\|[][\\^a-z]:\\|//?\\([^][\\^a-z/$~]\\|[^/$~][^:]\\|[^/$~]?\\'\\)\\)")
+ "\\(.*[^/]+/+?\\|/*?\\|\\)\\(~\\|$[^$]\\|$\\'\\|[][\\^a-z]:\\|//?\\([^][\\^a-z/$~]\\|[^/$~][^:]\\|[^/$~]?\\'\\)\\)")
(t
;; default is for unix-style filenames
- "\\(.*/\\)[/$~]"))
+ "\\(.*/\\)\\([/~]\\|$[^$]\\|$\\'\\)"))
"Regular expression used to match shadowed filenames.
There should be at least one regexp group; the end of the first one
is used as the end of the shadowed portion of the filename.")