unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* toggle-viper-mode strangeness
@ 2006-01-19  1:13 Giorgos Keramidas
  2006-01-19 21:43 ` Kevin Rodgers
  2006-01-20  1:14 ` Richard M. Stallman
  0 siblings, 2 replies; 8+ messages in thread
From: Giorgos Keramidas @ 2006-01-19  1:13 UTC (permalink / raw)


It's been several days since I updated cvs-emacs here, so forgive me if
this is fixed already.

Isn't the following in `toggle-viper-mode' strange?

        ;;;###autoload
        (defun toggle-viper-mode ()
          "Toggle Viper on/off.
        If Viper is enabled, turn it off.  Otherwise, turn it on."
          (interactive)
          (if (eq viper-mode t)
              (viper-go-away)
==>         (setq viper-mode nil)
            (viper-mode)))

Looking at the indentation I'd expect the if expression to end where the
arrow points, but it doesn't.  Or is an implicit (progn ...) added
automatically by Emacs around the third ... N-th elements of the if
expression?

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2006-01-20 12:45 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-19  1:13 toggle-viper-mode strangeness Giorgos Keramidas
2006-01-19 21:43 ` Kevin Rodgers
2006-01-20  1:14 ` Richard M. Stallman
2006-01-20  2:35   ` Giorgos Keramidas
2006-01-20  3:38     ` Johan Bockgård
2006-01-20  4:03     ` Stefan Monnier
2006-01-20  4:14       ` Luc Teirlinck
2006-01-20 12:45         ` Giorgos Keramidas

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).