Advertisement
mark-naylor-1701

Elisp Manual

Apr 19th, 2022 (edited)
1,659
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lisp 0.28 KB | None | 0 0
  1. (defun info-elisp ()
  2.   "Fire up the elisp manual. Activates the current manual if the
  3. buffer already exists."
  4.   (interactive)
  5.   (if-let ((name "*info elisp*")
  6.            (manual (get-buffer name)))
  7.       (switch-to-buffer manual)
  8.     (info "elisp")
  9.     (rename-buffer name)))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement