|
|
|
|
@ -437,6 +437,18 @@ |
|
|
|
|
|
|
|
|
|
(global-set-key (kbd "<f15>") 'flash-hline) |
|
|
|
|
#+END_SRC |
|
|
|
|
** unfill-paragraph |
|
|
|
|
This is authored by Stefan Monnier <foo at acm.org>. It is the opposite of |
|
|
|
|
fill-paragraph |
|
|
|
|
#+BEGIN_SRC emacs-lisp |
|
|
|
|
(defun unfill-paragraph (&optional region) |
|
|
|
|
"Takes a multi-line paragraph and makes 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))) |
|
|
|
|
#+END_SRC |
|
|
|
|
* Tidy-up |
|
|
|
|
** Save emacs-session files in appropriate directory |
|
|
|
|
Save session files to the ~sessions~ directory so that they do not litter |
|
|
|
|
@ -487,16 +499,6 @@ |
|
|
|
|
(add-to-list 'package-archives |
|
|
|
|
'("melpa-stable" . "http://stable.melpa.org/packages/") t) |
|
|
|
|
|
|
|
|
|
;; (eval-after-load 'tramp '(setenv "SHELL" "/bin/bash")) |
|
|
|
|
|
|
|
|
|
;;; Stefan Monnier <foo at acm.org>. It is the opposite of fill-paragraph |
|
|
|
|
(defun unfill-paragraph (&optional region) |
|
|
|
|
"Takes a multi-line paragraph and makes 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))) |
|
|
|
|
|
|
|
|
|
(defun select-frame-on-current-activity () |
|
|
|
|
(select-frame-on-activity (kde-current-activity)) |
|
|
|
|
|