Common function for elisp development