[slime-devel] [patch] slime-end-of-defun complain "Symbol's value as variable is void: major"

S.P.Tseng deftsp at gmail.com
Tue Oct 21 03:28:49 UTC 2008


Follow function in file "slime-editing-commands.el", should use "major-mode"
instead of "major". It seems variable "major" in emacs23 is deprecated.

,----
| (defun slime-end-of-defun ()
|   (interactive)
|   (if (eq major 'slime-repl-mode)
|       (slime-repl-end-of-defun)
|       (end-of-defun)))
|
`----


-- 
The opposite of love is not hate;
the opposite of love is solitude.




More information about the slime-devel mailing list