[OS X Emacs] Save hook no longer working with latest aquamacs

Chris Green greenc at fnal.gov
Wed Feb 19 19:17:03 EST 2014


The following snippet in my .emacs file was working as desired until 
moving to aquamacs 3.0. Now, It just silently fails to save and I have 
to C-x C-w instead.

Could someone tell me what might be going wrong in the context of the 
newer version?

;; Delete whitespace and untabify on save.
(add-hook 'c-mode-common-hook
             (add-hook 'local-write-file-hooks
                            (untabify 1 (+ 1 (buffer-size))))))))


Chris Green <greenc at fnal.gov>, FNAL CD/ADSS/SSI; 'phone (630) 840-2167.
IRC: greenc at jabber.fnal.gov;
chissgreen (AIM, Yahoo); chissg at hotmail.com (MSNM);
chris.h.green (Google Talk).

More information about the MacOSX-Emacs mailing list