On Feb 18, 6:34 pm, Phil Hagelberg <p...@hagelb.org> wrote:
> David <dsieg...@yahoo.com> writes:
> The Elisp CL emulation package is documented in its own top-level Info
> node for some reason rather than in the Elisp manual.

Almost certainly historical -- it must be a later, separate
development.

It really should be listed in the 'More Manuals' submenu of the Help
Menu, though  -- that's where I looked for documentation.  It never
occurred to me that there would be some other elisp manual
someplace else (and my Internet connection was dead -- very
frustrating).

> Cool! It's a little simpler to check for the value of the major-mode
> local variable rather than to use the filename, so here's what I ended
> up with:
>
> (defun clojure-enable-slime-on-existing-buffers ()
>   (interactive)
>   (dolist (buffer (buffer-list))
>     (if (equal '(major-mode . clojure-mode)
>                (assoc 'major-mode (buffer-local-variables buffer)))
>         (with-current-buffer buffer
>           (slime-mode t)))))

Well, that's simpler!

> Thanks for getting the ball rolling on this.

Glad to help,
-dms
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To post to this group, send email to clojure@googlegroups.com
To unsubscribe from this group, send email to 
clojure+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to