2003-05-15 Thu

[別の年の同じ日: 2004 2006 2007 2008 2009 2010 2011

Momonga 再インストール はてぶ

Momonga のインストールは,
http://www.momonga-linux.org/test/INSTALL 通りに.

URL を Mozilla のタブで開く はてぶ

http://www.emacswiki.org/cgi-bin/wiki.pl より.

(defun browse-url-mozilla-new-tab (url &optional new-window)
  ;; new-window ignored
  "Open URL in a new tab in Mozilla."
  (interactive (browse-url-interactive-arg "URL: "))
  (unless
      (string= ""
               (shell-command-to-string
                (concat "mozilla -remote 'openURL(" url ",new-tab)'")))
    (message "Starting Mozilla...")
    (start-process (concat "mozilla " url) nil "mozilla" url)
    (message "Starting Mozilla...done")))

(setq browse-url-browser-function 'browse-url-mozilla-new-tab)