summaryrefslogtreecommitdiff
path: root/lisp/init-buffile.el
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2015-01-07 23:13:38 -0500
committerKyle Meyer <kyle@kyleam.com>2015-01-07 23:13:38 -0500
commit3b7bd43479a4f7afc933afefe217170e277bda0e (patch)
tree5a2d24b47ece16b2f4abc2117f46b3ccbff3ed17 /lisp/init-buffile.el
parent965c259c182361e9a698b3ff2c466bf177ed3c81 (diff)
downloademacs.d-3b7bd43479a4f7afc933afefe217170e277bda0e.tar.gz
Fix some docstrings
Diffstat (limited to 'lisp/init-buffile.el')
-rw-r--r--lisp/init-buffile.el6
1 files changed, 2 insertions, 4 deletions
diff --git a/lisp/init-buffile.el b/lisp/init-buffile.el
index 4d98780..33fa74d 100644
--- a/lisp/init-buffile.el
+++ b/lisp/init-buffile.el
@@ -36,9 +36,7 @@
;; http://emacs-fu.blogspot.com/2013/03/editing-with-root-privileges-once-more.html
(defun km/find-file-as-root ()
- "`ido-find-file` that automatically edits the file with
-root-privileges (using tramp/sudo) if the file is not writable by
-user."
+ "Automatically edit file with root-privileges."
(interactive)
(let ((file (ido-read-file-name "Edit as root: ")))
(unless (file-writable-p file)
@@ -48,7 +46,7 @@ user."
(global-set-key (kbd "C-x F") 'km/find-file-as-root)
(defun km/save-and-kill-buffer ()
- "Save current buffer and then kill it"
+ "Save current buffer and then kill it."
(interactive)
(save-buffer)
(kill-this-buffer))