[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
message-toggle-gcc
From: |
Emilio Lopes |
Subject: |
message-toggle-gcc |
Date: |
Sat, 14 Aug 2004 21:10:34 +0200 |
User-agent: |
Emacs Gnus |
Despite its name, it also needs Gnus. I bind it to "C-c C-f C-g"
in `message-mode-map'.
(defun message-toggle-gcc ()
"Insert or remove the \"Gcc\" header."
(interactive)
(save-excursion
(save-restriction
(message-narrow-to-headers)
(if (message-fetch-field "Gcc")
(message-remove-header "Gcc")
(gnus-inews-insert-archive-gcc)))))
- message-toggle-gcc,
Emilio Lopes <=