Some tweaks to emacs init.el
This commit is contained in:
parent
27f96a1bd1
commit
6e09489826
1 changed files with 9 additions and 0 deletions
|
|
@ -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.
|
||||
;; =================================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue