diff options
| author | Juanma Barranquero | 2008-10-06 11:49:59 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2008-10-06 11:49:59 +0000 |
| commit | a35809ba8f63d009cb0c6a380f62015a1245248d (patch) | |
| tree | b0dbd2098ba16d6152b7fdbe683aa6e0a606e95d | |
| parent | b55426e9880dec69108d2e56cd6095b0a4abd975 (diff) | |
| download | emacs-a35809ba8f63d009cb0c6a380f62015a1245248d.tar.gz emacs-a35809ba8f63d009cb0c6a380f62015a1245248d.zip | |
* bookmark.el (bookmark-unload-function): New function.
| -rw-r--r-- | lisp/ChangeLog | 14 | ||||
| -rw-r--r-- | lisp/bookmark.el | 6 |
2 files changed, 15 insertions, 5 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 57d4b21bad7..62d33cbed5e 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2008-10-06 Juanma Barranquero <lekktu@gmail.com> | ||
| 2 | |||
| 3 | * bookmark.el (bookmark-unload-function): New function. | ||
| 4 | |||
| 1 | 2008-10-06 Andreas Schwab <schwab@suse.de> | 5 | 2008-10-06 Andreas Schwab <schwab@suse.de> |
| 2 | 6 | ||
| 3 | * emacs-lisp/syntax.el (syntax-ppss): Doc fix. | 7 | * emacs-lisp/syntax.el (syntax-ppss): Doc fix. |
| @@ -7,9 +11,9 @@ | |||
| 7 | * mail/footnote.el: Remove * in defcustom docstrings and tell | 11 | * mail/footnote.el: Remove * in defcustom docstrings and tell |
| 8 | for most options that customizing them doesn't affect buffers | 12 | for most options that customizing them doesn't affect buffers |
| 9 | already displaying footnotes. | 13 | already displaying footnotes. |
| 10 | (Footnote-refresh-footnotes, Footnote-renumber-footnotes): Fix | 14 | (Footnote-refresh-footnotes, Footnote-renumber-footnotes): |
| 11 | handling of text properties and identical start/end tags. Do | 15 | Fix handling of text properties and identical start/end tags. |
| 12 | not use format when renumbering. | 16 | Do not use format when renumbering. |
| 13 | (Footnote-set-style): Make it work. | 17 | (Footnote-set-style): Make it work. |
| 14 | (Footnote-insert-numbered-footnote): Simplify. | 18 | (Footnote-insert-numbered-footnote): Simplify. |
| 15 | (Footnote-narrow-to-footnotes, Footnote-insert-footnote) | 19 | (Footnote-narrow-to-footnotes, Footnote-insert-footnote) |
| @@ -214,9 +218,9 @@ | |||
| 214 | 218 | ||
| 215 | * calc/calc-units.el (math-standard-units): Add entries used to | 219 | * calc/calc-units.el (math-standard-units): Add entries used to |
| 216 | display the the values in the units buffer. | 220 | display the the values in the units buffer. |
| 217 | (math-build-units-table): Add entries to the units table to be used | 221 | (math-build-units-table): Add entries to the units table to be used |
| 218 | to display the values in the units buffer. | 222 | to display the values in the units buffer. |
| 219 | (math-build-units-table-buffer): Use the display entry of the units | 223 | (math-build-units-table-buffer): Use the display entry of the units |
| 220 | table when non-nil. | 224 | table when non-nil. |
| 221 | (calc-define-unit): Add option to enter display value of unit. | 225 | (calc-define-unit): Add option to enter display value of unit. |
| 222 | 226 | ||
diff --git a/lisp/bookmark.el b/lisp/bookmark.el index 535b1f2516a..8ac1226ec76 100644 --- a/lisp/bookmark.el +++ b/lisp/bookmark.el | |||
| @@ -2078,6 +2078,12 @@ This also runs `bookmark-exit-hook'." | |||
| 2078 | 2078 | ||
| 2079 | (add-hook 'kill-emacs-hook 'bookmark-exit-hook-internal) | 2079 | (add-hook 'kill-emacs-hook 'bookmark-exit-hook-internal) |
| 2080 | 2080 | ||
| 2081 | (defun bookmark-unload-function () | ||
| 2082 | "Unload the Bookmark library." | ||
| 2083 | (when bookmark-save-flag (bookmark-save)) | ||
| 2084 | ;; continue standard unloading | ||
| 2085 | nil) | ||
| 2086 | |||
| 2081 | 2087 | ||
| 2082 | (run-hooks 'bookmark-load-hook) | 2088 | (run-hooks 'bookmark-load-hook) |
| 2083 | 2089 | ||