Glenn Morris [Thu, 13 Mar 2008 05:43:00 +0000 (05:43 +0000)]
(diary-list-entries): Fix autoload.
(generated-autoload-file): Don't set, instead use different values of
generate-autoload-cookie plus Makefile rules to allow for a mixture of
internal calendar autoloads and normal autoloads.
Glenn Morris [Thu, 13 Mar 2008 05:41:16 +0000 (05:41 +0000)]
(generated-autoload-file): Don't set, instead use different values of
generate-autoload-cookie plus Makefile rules to allow for a mixture of
internal calendar autoloads and normal autoloads.
Glenn Morris [Thu, 13 Mar 2008 05:40:02 +0000 (05:40 +0000)]
Move variable declarations where they are needed.
(diary-bahai-date): Move to end.
(generated-autoload-file): Don't set, instead use different values of
generate-autoload-cookie plus Makefile rules to allow for a mixture of
internal calendar autoloads and normal autoloads.
Glenn Morris [Thu, 13 Mar 2008 03:29:35 +0000 (03:29 +0000)]
(f90-font-lock-n): New function.
(f90-font-lock-1, f90-font-lock-2, f90-font-lock-3, f90-font-lock-4):
Use f90-font-lock-n.
(f90-mode-abbrev-table): Use newer form of define-abbrev, where
supported. No need to bind abbrevs-changed for system abbrevs.
(f90-indent-region, f90-indent-subprogram, f90-match-end): Use cadr.
Juri Linkov [Wed, 12 Mar 2008 21:55:02 +0000 (21:55 +0000)]
(describe-project): Remove defaliases for view-todo and
describe-project that are now unnecessary after the merge from
emacs--rel--22 that added define-obsolete-function-alias.
Juri Linkov [Wed, 12 Mar 2008 21:54:36 +0000 (21:54 +0000)]
(inhibit-startup-screen): Revert incomplete
2008-03-10 merge from emacs--rel--22 that partly reverted
2008-02-28 change that added initial message to *scratch* buffer
regardless of the value of `inhibit-startup-screen'.
Now keep this change in the trunk, but not in the 22 branch.
Stefan Monnier [Wed, 12 Mar 2008 20:51:26 +0000 (20:51 +0000)]
(mh-uncompface, mh-picon-file-contents): Use set-buffer-multibyte...
(mh-face-display-function, mh-x-image-display): ...rather than bind
default-enable-multibyte-characters.
Stefan Monnier [Wed, 12 Mar 2008 19:56:09 +0000 (19:56 +0000)]
Use with-current-buffer.
(nntp-send-buffer): Just set the buffer to unibyte rather than use the
dubious mm-with-unibyte-current-buffer.
(nntp-with-open-group-function): New function extracted from
nntp-with-open-group macro.
(nntp-with-open-group): Use the function, so it's easier to debug.
Add indentation and debugging info.
(nntp-open-telnet-stream, nntp-open-via-rlogin-and-telnet): Recommend the
use of the netcat alternatives.
Stefan Monnier [Wed, 12 Mar 2008 19:04:56 +0000 (19:04 +0000)]
Use inhibit-read-only.
(mm-inline-text-html-render-with-w3, mm-inline-message): Use dolist.
(mm-pkcs7-signed-magic, mm-pkcs7-enveloped-magic): Use just string
or unibyte-string.
Stefan Monnier [Wed, 12 Mar 2008 18:44:07 +0000 (18:44 +0000)]
Use with-current-buffer.
(nnmh-request-list-1): Use mm-string-to-multibyte rather than
mm-string-as-multibyte on the output of mm-encode-coding-string.
Stefan Monnier [Wed, 12 Mar 2008 18:30:52 +0000 (18:30 +0000)]
(mm-with-part): Set the buffer to unibyte before inserting
the handle-buffer's text, so the implicit multibyte->unibyte conversion
uses string-make-unibyte rather than string-as-unibyte.
Stefan Monnier [Wed, 12 Mar 2008 15:26:49 +0000 (15:26 +0000)]
Remove all cb-args, use closures instead.
(doc-view-sentinel): Merge doc-view-dvi->pdf-sentinel,
doc-view-ps->pdf-sentinel, and doc-view-pdf->txt-sentinel (which was
doing an incorrect check). Update all callers to use the new name.
(doc-view-doc->txt): Add missing `txt' argument.
Stefan Monnier [Wed, 12 Mar 2008 14:50:36 +0000 (14:50 +0000)]
(doc-view-new-window-function): Add assertion.
(doc-view-doc-type): New var.
(doc-view-convert-current-doc, doc-view-doc->txt): Use it.
(doc-view-intersection): New fun.
(doc-view-mode): Use it to set the new var.
Tassilo Horn [Wed, 12 Mar 2008 12:05:30 +0000 (12:05 +0000)]
(doc-view-doc->txt, doc-view-open-text)
(doc-view-already-converted-p): New functions.
(doc-view-clear-cache): Don't recreate doc-view-cache-directory.
(doc-view-mode-map): Bind C-c C-t to doc-view-open-text.
(doc-view-dvi->pdf-sentinel, doc-view-dvi->pdf)
(doc-view-pdf->txt-sentinel, doc-view-pdf->txt)
(doc-view-ps->pdf-sentinel, doc-view-ps->pdf)
(doc-view-convert-current-doc): Don't hardwire the functions the
sentinels call. Now they're provided by two args CALLBACK and
CB-ARGS to the functions.
(doc-view-search): Use doc-view-doc->txt.
(doc-view-initiate-display): Use doc-view-already-converted-p.
Mention new binding C-c C-t if doc-view-mode doesn't work.
Stefan Monnier [Tue, 11 Mar 2008 22:02:46 +0000 (22:02 +0000)]
(minibuffer-local-map): Use the same command for the "Quit" menu as used for
the C-g key, so the shortcut displayed is C-g.
Prefer RET over C-j for exit-minibuffer.
Stefan Monnier [Tue, 11 Mar 2008 17:44:39 +0000 (17:44 +0000)]
(menu-bar-update-buffers-maxbuf): Remove.
(menu-bar-select-buffer): Remove.
(menu-bar-select-frame): Make non-interactive and take a frame arg.
(menu-bar-update-buffers): Don't use buffer-names or frame names as events.
Glenn Morris [Mon, 10 Mar 2008 02:46:24 +0000 (02:46 +0000)]
(diary-file, hebrew-holidays-1)
(hebrew-holidays-2, hebrew-holidays-3, hebrew-holidays-4)
(calendar, calendar-basic-setup, calendar-mode-map, calendar-set-mark)
(calendar-version): Doc fixes.
(calendar-absolute-from-gregorian): Use zerop.
(calendar-mode-line-format): Make it a defcustom.