Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

spacemacs start server

#!/usr/bin/env zsh# Checks if there's a frame openemacsclient -n -e “(if (> (length (frame-list)) 1) ‘t)” 2> /dev/null | grep t &> /dev/nullif [ “$?” -eq “1” ]; then emacsclient -a ‘’ -nqc “$@” &> /dev/nullelse emacsclient -nq “$@” &> /dev/nullfi
Source by medium.com #
 
PREVIOUS NEXT
Tagged: #spacemacs #start #server
ADD COMMENT
Topic
Name
1+7 =