al-aurel.el 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. ;;; al-aurel.el --- Additional functionality for AURel
  2. ;; Copyright © 2016 Alex Kost
  3. ;; This program is free software; you can redistribute it and/or modify
  4. ;; it under the terms of the GNU General Public License as published by
  5. ;; the Free Software Foundation, either version 3 of the License, or
  6. ;; (at your option) any later version.
  7. ;;
  8. ;; This program is distributed in the hope that it will be useful,
  9. ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. ;; GNU General Public License for more details.
  12. ;;
  13. ;; You should have received a copy of the GNU General Public License
  14. ;; along with this program. If not, see <http://www.gnu.org/licenses/>.
  15. ;;; Code:
  16. (require 'aurel)
  17. (require 'al-buffer)
  18. ;;;###autoload
  19. (defun al/switch-to-aurel-list ()
  20. "Switch to the `aurel-list-buffer-name' buffer."
  21. (interactive)
  22. (al/switch-to-buffer-or-funcall
  23. aurel-list-buffer-name
  24. (lambda () (call-interactively 'aurel-package-search))))
  25. ;;;###autoload
  26. (defun al/switch-to-aurel-info ()
  27. "Switch to the `aurel-info-buffer-name' buffer."
  28. (interactive)
  29. (al/switch-to-buffer-or-funcall
  30. aurel-info-buffer-name
  31. (lambda () (call-interactively 'aurel-package-info))))
  32. (provide 'al-aurel)
  33. ;;; al-aurel.el ends here