Platinum Partner

Run Emacs Or Emacsclient

Automatically run emacs or emacsclient if emacs is already launched.


#!/bin/sh

EMACS="/usr/bin/emacs"
EMACSCLIENT="/usr/bin/emacsclient"

$EMACSCLIENT $@ 2> /dev/null
if [ $? -ne 0 ]; then
   exec $EMACS $@
fi


Put this in your ~/.emacs.el :

;; start emacs server
(server-start)
{{ tag }}, {{tag}},

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}
{{ parent.authors[0].realName || parent.author}}

{{ parent.authors[0].tagline || parent.tagline }}

{{ parent.views }} ViewsClicks
Tweet

{{parent.nComments}}