]> git.donarmstrong.com Git - home-base.git/commitdiff
* add unfill paragraph and iswitchbmode fix
authorDon Armstrong <don@donarmstrong.com>
Thu, 24 Apr 2008 07:34:17 +0000 (07:34 +0000)
committerDon Armstrong <don@donarmstrong.com>
Thu, 24 Apr 2008 07:34:17 +0000 (07:34 +0000)
.emacs

diff --git a/.emacs b/.emacs
index c07f9a101c0772bc900d24ee8dbb97ff140610bb..3159d9c792d2a67336a3c0239231df093dbd515d 100644 (file)
--- a/.emacs
+++ b/.emacs
   (insert (format-time-string "%A, %B %e, %Y %k:%M:%S %Z")))
 (global-set-key "\C-[d" 'insert-date)
 
   (insert (format-time-string "%A, %B %e, %Y %k:%M:%S %Z")))
 (global-set-key "\C-[d" 'insert-date)
 
+(defun unfill-paragraph (arg)
+  "Pull this whole paragraph up onto one line."
+  (interactive "*p")
+  (let ((fill-column 10000))
+    (fill-paragraph arg))
+  )
+
 ;(iswitchb-default-keybindings)
 
 (column-number-mode t)
 ;(iswitchb-default-keybindings)
 
 (column-number-mode t)
 
 (desktop-load-default)
 (desktop-read)
 
 (desktop-load-default)
 (desktop-read)
-; start up the iswitchb mode
-(iswitchb-mode)
+'(iswitchb-mode on)
 (custom-set-faces
   ;; custom-set-faces was added by Custom.
   ;; If you edit it by hand, you could mess it up, so be careful.
 (custom-set-faces
   ;; custom-set-faces was added by Custom.
   ;; If you edit it by hand, you could mess it up, so be careful.