Some tweaks to emacs init.el

This commit is contained in:
John Doty 2019-11-04 15:23:54 -08:00
parent 27f96a1bd1
commit 6e09489826

View file

@ -264,6 +264,15 @@
(when (memq window-system '(mac ns))
(exec-path-from-shell-initialize))
;;; Stefan Monnier <foo at acm.org>. It is the opposite of fill-paragraph
(defun unfill-paragraph (&optional region)
"Take a multi-line REGION and make it into a single line of text."
(interactive (progn (barf-if-buffer-read-only) '(t)))
(let ((fill-column (point-max))
;; This would override `fill-column' if it's an integer.
(emacs-lisp-docstring-fill-column t))
(fill-paragraph nil region)))
;; =================================================================
;; Text mode configuration.
;; =================================================================