Mercurial > emacs
comparison lisp/mh-e/mh-acros.el @ 67681:3a8785724cca
* mh-acros.el:
* mh-alias.el:
* mh-comp.el:
* mh-customize.el:
* mh-e.el:
* mh-funcs.el:
* mh-gnus.el:
* mh-identity.el:
* mh-inc.el:
* mh-index.el:
* mh-init.el:
* mh-junk.el:
* mh-mime.el:
* mh-pick.el:
* mh-print.el:
* mh-seq.el:
* mh-speed.el:
* mh-utils.el:
Follow commenting conventions. Don't use ;;; form so much, except for
headings. Precede headings with page feed. This was mostly already
done, so I made it a convention. Did not update copyright on a couple
of files since this was an insignificant change.
author | Bill Wohler <wohler@newt.com> |
---|---|
date | Mon, 19 Dec 2005 23:32:16 +0000 |
parents | f5ade15d46f2 |
children | 6b063593fdad |
comparison
equal
deleted
inserted
replaced
67680:b7c68d3426e1 | 67681:3a8785724cca |
---|---|
53 recognizes that and loads `cl' where appropriate." | 53 recognizes that and loads `cl' where appropriate." |
54 (if (eq (car (macroexpand '(setf (gethash foo bar) baz))) 'cl-puthash) | 54 (if (eq (car (macroexpand '(setf (gethash foo bar) baz))) 'cl-puthash) |
55 `(require 'cl) | 55 `(require 'cl) |
56 `(eval-when-compile (require 'cl)))) | 56 `(eval-when-compile (require 'cl)))) |
57 | 57 |
58 ;;; Macros to generate correct code for different emacs variants | 58 ;; Macros to generate correct code for different emacs variants |
59 | 59 |
60 (defmacro mh-do-in-gnu-emacs (&rest body) | 60 (defmacro mh-do-in-gnu-emacs (&rest body) |
61 "Execute BODY if in GNU Emacs." | 61 "Execute BODY if in GNU Emacs." |
62 (unless (featurep 'xemacs) `(progn ,@body))) | 62 (unless (featurep 'xemacs) `(progn ,@body))) |
63 (put 'mh-do-in-gnu-emacs 'lisp-indent-hook 'defun) | 63 (put 'mh-do-in-gnu-emacs 'lisp-indent-hook 'defun) |
142 `(assoc-string ,key ,alist t) | 142 `(assoc-string ,key ,alist t) |
143 `(assoc-ignore-case ,key ,alist))) | 143 `(assoc-ignore-case ,key ,alist))) |
144 | 144 |
145 (provide 'mh-acros) | 145 (provide 'mh-acros) |
146 | 146 |
147 ;;; Local Variables: | 147 ;; Local Variables: |
148 ;;; no-byte-compile: t | 148 ;; no-byte-compile: t |
149 ;;; indent-tabs-mode: nil | 149 ;; indent-tabs-mode: nil |
150 ;;; sentence-end-double-space: nil | 150 ;; sentence-end-double-space: nil |
151 ;;; End: | 151 ;; End: |
152 | 152 |
153 ;; arch-tag: b383b49a-494f-4ed0-a30a-cb6d5d2da4ff | 153 ;; arch-tag: b383b49a-494f-4ed0-a30a-cb6d5d2da4ff |
154 ;;; mh-acros.el ends here | 154 ;;; mh-acros.el ends here |