overtone / emacs-live

M-x start-hacking
http://overtone.github.com/emacs-live/
Other
1.51k stars 241 forks source link

Doesn't work with Emacs 24.5 #222

Open johnjelinek opened 8 years ago

johnjelinek commented 8 years ago

The Compile Log shows warnings on boot and I can't save files. When I C-x C-s, it spits out some elisp instead.

jeffma commented 7 years ago

same problem on emacs 25.0

dogjaw2233 commented 7 years ago

Same with me

ubermenschjo commented 7 years ago

same on emacs 25.1-1

ubermenschjo commented 7 years ago

This bug seems to appear only when you specify using live-add-packs.

herrsebi commented 7 years ago

Same here this is the error message that i get:

save-buffer: Wrong number of arguments: (lambda nil "Save the current buffer in its visited file, if it has been modified.
The hooks `write-contents-functions' and `write-file-functions' get a chance
to do the job of saving; if they do not, then the buffer is saved in
the visited file in the usual way.
Before and after saving the buffer, this function runs
`before-save-hook' and `after-save-hook', respectively." (interactive) (save-current-buffer (if (buffer-base-buffer) (set-buffer (buffer-base-buffer))) (if (or (buffer-modified-p) (and buffer-file-name (not (file-exists-p buffer-file-name)))) (let ((recent-save (recent-auto-save-p)) setmodes) (set-window-buffer (frame-selected-window) (current-buffer)) (if (or buffer-file-name (y-or-n-p "Buffer has no associated file and not saved. Save it? ")) (progn (or buffer-file-name (let ((filename ...)) (if (file-exists-p filename) (if ... ... ...) (let ... ...)) (set-visited-file-name filename))) (or (verify-visited-file-modtime (current-buffer)) (not (file-exists-p buffer-file-name)) (yes-or-no-p (format "%s has changed since visited or saved.  Save anyway? " (file-name-nondirectory buffer-file-name))) (error "Save not confirmed")) (save-restriction (widen) (save-excursion (and (> ... ...) (not find-file-literally) (/= ... 10) (not ...) (or ... ... ...) (save-excursion ... ...))) (vc-before-save) (run-hooks (quote before-save-hook)) (or (run-hook-with-args-until-success (quote write-contents-functions)) (run-hook-with-args-until-success (quote local-write-file-hooks)) (run-hook-with-args-until-success (quote write-file-functions)) (setq setmodes (basic-save-buffer-1))) (if save-buffer-coding-system (setq save-buffer-coding-system last-coding-system-used) (setq buffer-file-coding-system last-coding-system-used)) (setq buffer-file-number (nthcdr 10 (file-attributes buffer-file-name))) (if setmodes (condition-case nil (progn ... ...) (error nil)))) (delete-auto-save-file-if-necessary recent-save) (vc-after-save) (run-hooks (quote after-save-hook))))) (message "(No changes need to be saved)")))), 1

This happens on a clean install in Emacs 25.1, still works in 24.4. The error also breaks existing installations on upgrade of emacs.