1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-04 11:40:22 +00:00
Commit Graph

42955 Commits

Author SHA1 Message Date
Glenn Morris
668bd187b9 Comment. 2008-03-08 03:50:00 +00:00
Glenn Morris
4d39c4f754 Remove un-needed eval-when-compile. 2008-03-08 03:48:53 +00:00
Glenn Morris
b3a6c0ca49 Unquote lambda functions. 2008-03-08 03:48:33 +00:00
Glenn Morris
c9baab11c4 Move defcustoms to start.
(diary-include-string, diary-list-include-blanks)
(diary-glob-file-regexp-prefix, diary-face, diary-face-attrs)
(diary-file-name-prefix, diary-file-name-prefix-function)
(sexp-diary-entry-symbol, list-diary-entries-hook)
(mark-diary-entries-hook, nongregorian-diary-listing-hook)
(nongregorian-diary-marking-hook, print-diary-entries-hook):
Move here from calendar.el.
(diary-face): Make it a defcustom, and mark as obsolete.
(top-level): No need to require cal-hebrew, cal-islam when compiling.
(calendar-hebrew-month-name-array-leap-year)
(calendar-islamic-month-name-array, calendar-bahai-month-name-array):
Define for compiler.
(diary-font-lock-keywords): Use format rather than concat. Add
bahai-diary-entry-symbol.
2008-03-08 03:47:36 +00:00
Glenn Morris
f62611de75 Move many autoloads to separate file, cal-loaddefs.el.
Move defcustoms to start and re-order.
(calendar-month-name-array, calendar-starred-day): No need to declare
for compiler.
(cal-loaddefs): Require it.
(appt, chinese-calendar, calendar-tex): Move custom groups to the
appropriate file.
(diary-entry-marker, calendar-today-marker, calendar-holiday-marker):
Reverse logic.
(diary-face, diary-file-name-prefix-function, diary-include-string)
(diary-glob-file-regexp-prefix, diary-face-attrs)
(diary-file-name-prefix, sexp-diary-entry-symbol)
(print-diary-entries-hook, list-diary-entries-hook)
(nongregorian-diary-listing-hook, mark-diary-entries-hook)
(nongregorian-diary-marking-hook, diary-list-include-blanks):
Move to diary-lib.
(all-christian-calendar-holidays, all-islamic-calendar-holidays)
(all-bahai-calendar-holidays): Doc fix.
(calendar-mark-ring): Add doc-string.
(calendar-starred-day): Defvar it.
(calendar-mode): Make calendar-starred-day local.
(calendar-star-date): No need to make calendar-starred-day local.
2008-03-08 03:47:03 +00:00
Glenn Morris
0f1e40b677 Add autoload cookies to functions formerly autoloaded in calendar.el.
Set `generated-autoload-file' to "cal-loaddefs.el".
2008-03-08 03:46:28 +00:00
Glenn Morris
ab4f654fdc Add autoload cookies to functions formerly autoloaded in calendar.el.
Set `generated-autoload-file' to "cal-loaddefs.el".
(calendar-tex): Move custom group here from calendar.el.
2008-03-08 03:46:13 +00:00
Glenn Morris
5942f9afaa Unquote lambda functions. Add autoload cookies to functions formerly
autoloaded in calendar.el.  Set `generated-autoload-file' to
"cal-loaddefs.el".
2008-03-08 03:45:43 +00:00
Glenn Morris
3627d02d9d New file. 2008-03-08 03:44:35 +00:00
Glenn Morris
d383fd971c Unquote lambda functions. Add autoload cookies to functions formerly
autoloaded in calendar.el.  Set `generated-autoload-file' to
"cal-loaddefs.el".
2008-03-08 03:44:08 +00:00
Glenn Morris
ad20a66449 Add autoload cookies to functions formerly autoloaded in calendar.el.
Set `generated-autoload-file' to "cal-loaddefs.el".
2008-03-08 03:42:30 +00:00
Glenn Morris
c645b7bb0d Unquote lambda functions. 2008-03-08 03:41:34 +00:00
Glenn Morris
86cef613a3 Unquote lambda functions. Add autoload cookies to functions formerly
autoloaded in calendar.el.  Set `generated-autoload-file' to
"cal-loaddefs.el".
2008-03-08 03:40:52 +00:00
Glenn Morris
c07e258bc3 Comment. 2008-03-08 03:40:33 +00:00
Glenn Morris
2c47d99f59 Unquote lambda functions. Add autoload cookies to functions formerly
autoloaded in calendar.el.  Set `generated-autoload-file' to
"cal-loaddefs.el".
2008-03-08 03:40:14 +00:00
Glenn Morris
bfcb51726f Unquote lambda functions. Add autoload cookies to functions formerly
autoloaded in calendar.el.  Set `generated-autoload-file' to
"cal-loaddefs.el".
(chinese-calendar): Move custom group here from calendar.el.
(chinese-calendar-celestial-stem, chinese-calendar-terrestrial-branch):
Make constants.
2008-03-08 03:39:49 +00:00
Glenn Morris
e708e9d987 Unquote lambda functions. Add autoload cookies to functions formerly
autoloaded in calendar.el.  Set `generated-autoload-file' to
"cal-loaddefs.el".
2008-03-08 03:39:08 +00:00
Glenn Morris
d589fa5211 (appt): Move custom group here from calendar.el. 2008-03-08 03:38:14 +00:00
Glenn Morris
97dcf67358 (list-diary-entries-hook): Declare for compiler.
(org-get-entries-from-diary): Require diary-lib.
2008-03-08 03:37:24 +00:00
Juanma Barranquero
355f5efadb Move declare-function. 2008-03-08 00:13:50 +00:00
Juanma Barranquero
f9b27c8599 (bookmark-make-name-function, bookmark-get-bookmark-record):
Pacify byte-compiler.
2008-03-08 00:11:29 +00:00
Alan Mackenzie
6b6481ed72 (c-in-knr-argdecl): Limit number of paren/bracket pairs parsed, to solve
performance problem.
2008-03-07 22:34:09 +00:00
Alan Mackenzie
f1bb4ee1b8 (Limitations and Known Bugs): State that the number of parens/brackets in
a k&r region is limited.
2008-03-07 22:31:59 +00:00
Bastien Guerry
f9bf695080 * bookmark.el (bookmark-set): Don't check for
`bookmark-make-name-function' since `bookmark-buffer-file-name'
already takes care of this.
(bookmark-buffer-name): Removed Info-mode specific code.
(bookmark-buffer-file-name): Removed Info-mode specific code.

* info.el (bookmark-get-info-node): Define this function in
info.el, not in bookmark.el.
(Info-mode): Set `bookmark-make-name-function' to
`Info-bookmark-make-name' locally.
(Info-bookmark-make-name): New function.

* bookmark.el (bookmark-make-name-function): New variable.
2008-03-07 19:31:59 +00:00
Karl Fogel
9dfcb52e0b * emacs-cvs/lisp/bookmark.el
(bookmark-set): Make `bookmark-make-record-function' buffer-local,
  not `bookmark-make-cell-function' (the old name).
2008-03-07 17:03:37 +00:00
Tassilo Horn
5daa568830 (Info-bookmark-make-record): Delete obsolete second arg. 2008-03-07 16:01:25 +00:00
Tassilo Horn
05d42c2197 (image-bookmark-make-record): Delete obsolete
second arg.
2008-03-07 15:59:58 +00:00
Tassilo Horn
c039a3b294 (doc-view-bookmark-make-record): Delete obsolete
second arg.
2008-03-07 15:59:43 +00:00
Juanma Barranquero
290afd835e *** empty log message *** 2008-03-07 12:44:15 +00:00
Jan Djärv
934b91bf63 (vc-status-menu-map-filter): Return orig-binding if
boundp 'vc-ignore-menu-filter.
(vc-status-tool-bar-map): Make it defvar.
(vc-status-mode): vc-status-tool-bar-map now variable.
(vc-status-toggle-mark): toggle-mark-file => vc-status-toggle-mark-file.
2008-03-07 10:37:56 +00:00
Karl Fogel
e0385bf41a Change a return type, for greater extensibility. See
http://lists.gnu.org/archive/html/emacs-devel/2007-12/msg01077.html
and its thread for discussion leading to this change.

* emacs-cvs/lisp/bookmark.el:
(bookmark-jump-noselect): Return an alist instead of a dotted pair.
(bookmark-jump, bookmark-jump-other-window, bookmark-insert)
(bookmark-bmenu-2-window, bookmark-bmenu-other-window)
(bookmark-bmenu-switch-other-window): Adjust accordingly.
(bookmark-make-cell-function): Adjust documentation accordingly.

* emacs-cvs/lisp/image-mode.el
(image-bookmark-jump): Adjust return type accordingly; document.

* emacs-cvs/lisp/doc-view.el
(doc-view-bookmark-jump): Adjust return type accordingly; document.
2008-03-07 05:44:37 +00:00
Glenn Morris
360bc6282c Regenerate. 2008-03-07 05:33:49 +00:00
Glenn Morris
e85393d4ff Remove leading `*' from defcustom doc-strings.
(calendar-time-display-form, calendar-latitude)
(calendar-longitude, solar-equinoxes-solstices): Remove autoload cookies.
(calendar-latitude, calendar-longitude): Move functions after
variables.
(diary-sabbath-candles-minutes): Move to start.
(solar-setup): Use or rather than if.
(solar-sin-degrees, solar-cosine-degrees, solar-tangent-degrees):
Remove condition-case.
(solar-atn2): Use zerop.
(solar-equinoxes-solstices): Doc fix.
2008-03-07 05:18:39 +00:00
Glenn Morris
ec1ee609ae (calendar-dst): New custom group.
(calendar-daylight-savings-starts, calendar-daylight-savings-ends)
(calendar-time-zone, calendar-daylight-time-offset)
(calendar-standard-time-zone-name, calendar-daylight-time-zone-name)
(calendar-daylight-savings-starts-time)
(calendar-daylight-savings-ends-time): Convert from defvar to defcustom.
(calendar-daylight-savings-starts, calendar-daylight-savings-ends):
Move to start.
2008-03-07 05:13:00 +00:00
Glenn Morris
c4632735bb (calendar-version): Use emacs-version and make it obsolete. Move to end.
(calendar-offset, view-diary-entries-initially)
(mark-diary-entries-in-calendar)
(calendar-remove-frame-by-deleting)
(view-calendar-holidays-initially, all-hebrew-calendar-holidays)
(all-christian-calendar-holidays, all-islamic-calendar-holidays)
(all-bahai-calendar-holidays, calendar-load-hook)
(initial-calendar-window-hook, today-visible-calendar-hook)
(today-invisible-calendar-hook, calendar-move-hook)
(diary-nonmarking-symbol, hebrew-diary-entry-symbol)
(islamic-diary-entry-symbol, bahai-diary-entry-symbol)
(diary-include-string, sexp-diary-entry-symbol)
(abbreviated-calendar-year, american-date-diary-pattern)
(european-date-diary-pattern, european-calendar-display-form)
(american-calendar-display-form, print-diary-entries-hook)
(list-diary-entries-hook, diary-hook, diary-display-hook)
(nongregorian-diary-listing-hook, mark-diary-entries-hook)
(nongregorian-diary-marking-hook, diary-list-include-blanks)
(holidays-in-diary-buffer, general-holidays, oriental-holidays)
(local-holidays, other-holidays, hebrew-holidays-1)
(hebrew-holidays-2, hebrew-holidays-3, hebrew-holidays-4)
(hebrew-holidays, christian-holidays, islamic-holidays)
(bahai-holidays, solar-holidays, calendar-setup)
(calendar-week-start-day): Remove autoload cookies.
(diary-glob-file-regexp-prefix): Doc fix.
(calendar-goto-info-node): Use `info' rather than `Info-find-node'.
(Info-find-emacs-command-nodes, Info-find-node): Remove declarations.
(calendar-week-start-day, calendar-debug-sexp): Move to start.
2008-03-07 05:06:34 +00:00
Stefan Monnier
79363d9360 * bookmark.el (bookmark-map, bookmark-read-annotation-mode-map):
Move initialization into declaration.
(bookmark-get-info-node, bookmark-set-info-node): Remove.
(bookmark-make, bookmark-make-cell-for-text-file): Remove `info-node' arg.
(bookmark-info-current-node): Remove.
(bookmark-jump-noselect): Rename from bookmark-jump-internal.
Add relocation fallback.  Set bookmark-current-bookmark.
(bookmark-default-handler): Rename from bookmark-jump-noselect.
Remove relocation fallback.  Don't set bookmark-current-bookmark.
(bookmark-set): Let it be used even if there's no buffer-file-name
as long as there is a bookmark-make-cell-function.
* info.el (Info-bookmark-jump): Remove relocation fallback.
Don't set bookmark-current-bookmark.
2008-03-07 05:00:18 +00:00
Glenn Morris
f7ae31df1d (holidays-in-diary-buffer): Declare for compiler. 2008-03-07 04:45:09 +00:00
Glenn Morris
08f7d912af Remove leading `*' from defcustom doc-strings. 2008-03-07 04:43:35 +00:00
Glenn Morris
c6b162e93a (appt-issue-message)
(appt-message-warning-time, appt-audible, appt-visible)
(appt-msg-window, appt-display-mode-line, appt-display-duration)
(appt-display-diary): Remove autoload cookies.
2008-03-07 04:41:23 +00:00
Glenn Morris
613966a53e Remove leading `*' from defcustom doc-strings.
(sc-mode-map-prefix): Doc fix.  Make it a defcustom.
2008-03-07 04:27:37 +00:00
Glenn Morris
100a41414a (org-agenda-sunrise-sunset): Require solar.
(calendar-longitude, calendar-latitude, calendar-location-name):
Declare for compiler.
2008-03-07 04:20:41 +00:00
Glenn Morris
719b64c2d9 Fix merge mistakes (correct date, add missing entries).
http://lists.gnu.org/archive/html/emacs-devel/2008-03/msg00225.html
2008-03-07 03:56:16 +00:00
Stefan Monnier
239bf18bf2 (archive-ar-file-header-re): New const.
(archive-ar-summarize, archive-ar-extract): New funs.
(archive-find-type): Recognize ar archives.
2008-03-06 22:11:12 +00:00
Stefan Monnier
b0a08954d5 (vc-bzr-resolve-when-done, vc-bzr-find-file-hook): New functions. 2008-03-06 22:08:21 +00:00
Stefan Monnier
d530654e68 (Info-bookmark-make-cell): Fix up last change. 2008-03-06 21:43:06 +00:00
Stefan Monnier
8dd8636323 (Info-bookmark-make-cell): Don't use the info-node argument. 2008-03-06 21:41:36 +00:00
Bastien Guerry
a218ab178b * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Bugfix: replaced
:enable (mark-active) with :enable mark-active.  Thanks to Lennart
Borgman.
2008-03-06 17:15:47 +00:00
Juanma Barranquero
403d0c9679 *** empty log message *** 2008-03-06 15:23:36 +00:00
Juanma Barranquero
d193e7052d *** empty log message *** 2008-03-06 15:17:53 +00:00
Juanma Barranquero
0f538927ab (org-export-html-style): Doc fix.
(org-get-legal-level): New obsolete alias.
(org-get-valid-level): Rename from `org-get-legal-level'.
(org-promote, org-demote, org-archive-subtree, org-remember-handler,
org-refile, org-put-clock-overlay): Use it.
2008-03-06 15:03:48 +00:00