Gnus development mailing list
 help / color / mirror / Atom feed
* MML preview should have a "quit" function
@ 2001-02-02 18:04 Karl Kleinpaste
  2001-02-02 18:58 ` ShengHuo ZHU
  2001-02-02 19:03 ` David Z Maze
  0 siblings, 2 replies; 4+ messages in thread
From: Karl Kleinpaste @ 2001-02-02 18:04 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 128 bytes --]

MML preview buffers are in fundamental mode, with neither keybindings
nor menus.  It should understand at least a `q' to quit.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: add `q' keybinding to MML previews --]
[-- Type: text/x-patch, Size: 316 bytes --]

--- mml.el.~1~	Tue Jan 23 09:12:11 2001
+++ mml.el	Fri Feb  2 13:02:26 2001
@@ -891,6 +891,7 @@
 	  (gnus-article-prepare-display))))
     (fundamental-mode)
     (setq buffer-read-only t)
+    (local-set-key "q" '(lambda () (interactive) (kill-buffer nil)))
     (goto-char (point-min))))
 
 (defun mml-validate ()

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

end of thread, other threads:[~2001-02-04 23:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-02-02 18:04 MML preview should have a "quit" function Karl Kleinpaste
2001-02-02 18:58 ` ShengHuo ZHU
2001-02-02 19:03 ` David Z Maze
2001-02-04 23:58   ` Jesper Harder

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 NNTP newsgroup(s).