emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: pp-eval-expression


From: Drew Adams
Subject: RE: pp-eval-expression
Date: Wed, 5 Jan 2005 13:23:47 -0800

        Shouldn't `pp-eval-expression' turn off emacs-lisp-mode-hook and
        change-major-mode-hook before turning on emacs-lisp-mode?

    Why?

Well, I admit that it's problematic either way, but I was thinking that
users might have hook functions that aren't relevant in the pp eval buffer.

I was guessing that the only reasons that the buffer is put into emacs-lisp
mode are for 1) font-locking, 2) the syntax table, and possibly 3)
reformatting and evaling parts by hand. But someone will perhaps argue that
you can also use the buffer interactively.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]