Small fix to elisp snippet in README.

Call both functions only under the given condition.