Anything.el で HTML ファイルを選択した場合の挙動を変更した。
Anything.el で HTML ファイルを選択すると emacs-w3m で開こうとしてしまうので anything-config.el のパッチを書いた。
--- a/dot_files/dot_emacs.d/elisp/3rd-party/anything-config.el +++ b/dot_files/dot_emacs.d/elisp/3rd-party/anything-config.el @@ -4551,7 +4551,7 @@ file. Else return ACTIONS unmodified." "Add an action to browse the file CANDIDATE if it in a html file or URL. Else return ACTIONS unmodified." (if (string-match "^http\\|^ftp\\|\\.html?$" candidate) - (cons '("Browse with Browser" . browse-url) actions ) + (append actions '(("Browse with Browser" . browse-url))) actions)) ;;;; Function
HTML ファイルを Emacs で選択する場合、編集しようとしているケースが多いと思うのだけど他の人はそうでもないのだろうか。