projects
/
elisp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cosmetics.
[elisp.git]
/
selector.el
diff --git
a/selector.el
b/selector.el
index
197a8af
..
2175352
100644
(file)
--- a/
selector.el
+++ b/
selector.el
@@
-338,7
+338,9
@@
There seems to be header-line refreshing problems with emacs21."
(format-time-string "%a %b %e" (elt (file-attributes s) 5))
'face 'selector/date))
(format-time-string "%a %b %e" (elt (file-attributes s) 5))
'face 'selector/date))
- " -- "
+ ;; " -- "
+
+ " "
(if (string-match abbreviated-home-dir s)
(concat (propertize
(if (string-match abbreviated-home-dir s)
(concat (propertize
@@
-350,7
+352,12
@@
There seems to be header-line refreshing problems with emacs21."
(defun selector/find-file (filename)
(if selector/add-to-file-name-history
(defun selector/find-file (filename)
(if selector/add-to-file-name-history
- (add-to-list 'file-name-history filename t))
+ (add-to-history 'file-name-history
+ (replace-regexp-in-string
+ abbreviated-home-dir "~/" filename)
+ )
+ )
+
(find-file filename))
(defun selector/pick-file (filename)
(find-file filename))
(defun selector/pick-file (filename)