Skip to content

Commit

Permalink
remove @ prefix from helm-frame commands
Browse files Browse the repository at this point in the history
  • Loading branch information
chee committed May 7, 2017
1 parent bcc75f6 commit 3f6aa92
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions README.md
Expand Up @@ -24,9 +24,9 @@ when you have helm all installed sweet to the beat las vegas, stick helm-frame.e
```elisp
(require 'helm-frame)
(add-hook 'helm-after-action-hook '@helm-frame/delete)
(add-hook 'helm-cleanup-hook '@helm-frame/delete)
(setq helm-split-window-preferred-function '@helm-frame/window)
(add-hook 'helm-after-action-hook 'helm-frame/delete)
(add-hook 'helm-cleanup-hook 'helm-frame/delete)
(setq helm-split-window-preferred-function 'helm-frame/window)
```

## contributing
Expand Down
16 changes: 8 additions & 8 deletions helm-frame.el
Expand Up @@ -82,7 +82,7 @@ If FRAME is provided, then get display that frame is on."


;;;###autoload
(defun @helm-frame/create ()
(defun helm-frame/create ()
"Create a new helm-frame."
(let
((old-frame (window-frame))
Expand All @@ -94,25 +94,25 @@ If FRAME is provided, then get display that frame is on."
(select-frame-set-input-focus old-frame) frame))

;;;###autoload
(defun @helm-frame/frame ()
(defun helm-frame/frame ()
"Return the current frame, or create a new one."
(let ((frame (or (helm-frame--frame-named "Helm") (@helm-frame/create))))
(let ((frame (or (helm-frame--frame-named "Helm") (helm-frame/create))))
(set-frame-width frame 80)
(set-frame-height frame 20)
(helm-frame--center-frame frame)
frame))

;;;###autoload
(defun @helm-frame/window (window)
(defun helm-frame/window (window)
"Return helm-frame's window.
Takes WINDOW for compatability with helm-split-window-preferred-function."
(frame-root-window (@helm-frame/frame)))
Takes WINDOW for compatability with 'helm-split-window-preferred-function'."
(frame-root-window (helm-frame/frame)))

;;;###autoload
(defun @helm-frame/delete ()
(defun helm-frame/delete ()
"Throw the frame down a very deep well."
(delete-frame (@helm-frame/frame)))
(delete-frame (helm-frame/frame)))

(provide 'helm-frame)
;;; helm-frame.el ends here

0 comments on commit 3f6aa92

Please sign in to comment.