gnu-emacs-sources
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ;;; anything.el --- open anything


From: address@hidden
Subject: Re: ;;; anything.el --- open anything
Date: Mon, 23 Jul 2007 10:47:25 -0000
User-agent: G2/1.0

On Jul 22, 10:57 pm, Benjamin Andresen <address@hidden>
wrote:
> ,----[ diff -u anything.el.1 anything.el ]
> | --- anything.el.1     2007-07-22 19:45:30.000000000 +0200
> | +++ anything.el       2007-07-22 22:37:42.000000000 +0200
> | @@ -906,11 +906,11 @@
> |                    (setq file (propertize file 'face 'file-name-shadow)))
> |
> |                ;; replace path of HOME directory in paths with the string
> | -              ;; <home>
> | +              ;; ~
> |                (let ((home (replace-regexp-in-string "\\\\" "/" ; stupid 
> Windows...
> |                                                      (getenv "HOME"))))
> |                  (if (string-match home file)
> | -                    (cons (replace-match "<home>" nil nil file) file)
> | +                    (cons (replace-match "~" nil nil file) file)
> |                    file)))
> |              files)))
> |

The function anything-transform-files in anything.el is only an
example. If you have fixes or enhancements then they should go into
anything-config.el. Transformations for different types of items are
also part of the configuration for anything, so they belong to
anything-config.el.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]