From fbe1ab92a4b5f5a9fb16ac441bc9c008b5e19578 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Mon, 30 Dec 2013 13:07:26 +0100 Subject: Add some docstrings to silence warnings --- .emacs.d/init.el | 4 ++++ 1 file changed, 4 insertions(+) (limited to '.emacs.d/init.el') diff --git a/.emacs.d/init.el b/.emacs.d/init.el index c917f0b..87e144a 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -145,6 +145,7 @@ MODE1 is enabled and vice-versa." ;;;; Typography (defun init-locally-enable-double-spaces () + "Specify that two spaces end a sentence in the current buffer." (setq-local sentence-end-double-space t)) ;; Use double spaces to end lines in Emacs Lisp. The checkdoc @@ -154,6 +155,7 @@ MODE1 is enabled and vice-versa." ;;;; Symbols (defun init-set-emacs-lisp-symbols () + "Set a few extra UTF-8 symbols for use in emacs-lisp." (when (boundp 'prettify-symbols-alist) (setq prettify-symbols-alist (append prettify-symbols-alist @@ -163,6 +165,7 @@ MODE1 is enabled and vice-versa." (defun init-set-python-symbols () + "Set a few extra UTF-8 symbols for use in python." (when (boundp 'prettify-symbols-alist) (setq prettify-symbols-alist '(("lambda" . ?λ) @@ -189,6 +192,7 @@ MODE1 is enabled and vice-versa." :weight 'normal)) (defun sort-imports () + "Sort python multiline imports using `()'." (interactive) (save-excursion (sort-lines nil (1+ (search-backward "(")) -- cgit v1.2.3-54-g00ecf