changeset 551:0095a5a71355

Add docs to func.
author Oleksandr Gavenko <gavenkoa@gmail.com>
date Sat, 22 Dec 2012 19:45:09 +0200
parents 9778a70260f0
children 1b72cde563af
files misc/cleanupdoc-find-dup.el
diffstat 1 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/misc/cleanupdoc-find-dup.el	Sat Dec 22 19:44:07 2012 +0200
+++ b/misc/cleanupdoc-find-dup.el	Sat Dec 22 19:45:09 2012 +0200
@@ -1,6 +1,10 @@
 
 (defun my-help ()
-  "Remove file at point and whole line from find-dup output."
+  "Remove file at point and whole line from find-dup output.
+
+Evaluate in find-dup buffer for hotkey:
+
+  (local-set-key [C-return] 'my-help)"
   (interactive)
   (let ( (curr (line-number-at-pos)) file beg end )
     (save-excursion
@@ -25,4 +29,3 @@
     (kill-whole-line)
     ))
 
-;; (local-set-key [C-return] 'my-help)