Anonymous avatar Anonymous committed 50a20d0

2001-11-27 Simon Josefsson <jas@extundo.com>;

* sendmail.el (top-level): Don't require mail-abbrev.

* mail-abbrevs.el (mail-abbrev-mailrc-file): Defun. Autoload.

Comments (0)

Files changed (3)

+2001-11-27  Simon Josefsson  <jas@extundo.com>
+
+	* sendmail.el (top-level): Don't require mail-abbrev.
+
+	* mail-abbrevs.el (mail-abbrev-mailrc-file): Defun.  Autoload.
+
 2001-11-22  Simon Josefsson  <jas@extundo.com>
 
 	* sendmail.el (top-level): Require mail-abbrevs when compiling,
 		 file)
   :group 'mail-abbrevs)
 
-(defmacro mail-abbrev-mailrc-file ()
-  '(or mail-abbrev-mailrc-file
-       (setq mail-abbrev-mailrc-file
-	     (or (getenv "MAILRC") "~/.mailrc"))))
+;;;###autoload
+(defun mail-abbrev-mailrc-file ()
+  (or mail-abbrev-mailrc-file
+      (setq mail-abbrev-mailrc-file
+	    (or (getenv "MAILRC") "~/.mailrc"))))
 
 ;; originally defined in sendmail.el - used to be an alist, now is a table.
 ;;;###autoload
 ;;; Code:
 
 (require 'rfc822)
-(eval-when-compile
-  (require 'mail-abbrevs))
 
 (defgroup sendmail nil
   "Mail sending commands for Emacs."
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.