diff options
| author | Juanma Barranquero <lekktu@gmail.com> | 2008-10-06 11:49:59 +0000 |
|---|---|---|
| committer | Juanma Barranquero <lekktu@gmail.com> | 2008-10-06 11:49:59 +0000 |
| commit | a35809ba8f63d009cb0c6a380f62015a1245248d (patch) | |
| tree | b0dbd2098ba16d6152b7fdbe683aa6e0a606e95d /lisp | |
| parent | b55426e9880dec69108d2e56cd6095b0a4abd975 (diff) | |
| download | emacs-a35809ba8f63d009cb0c6a380f62015a1245248d.tar.gz | |
* bookmark.el (bookmark-unload-function): New function.
Diffstat (limited to 'lisp')
| -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 @@ +2008-10-06 Juanma Barranquero <lekktu@gmail.com> + + * bookmark.el (bookmark-unload-function): New function. + 2008-10-06 Andreas Schwab <schwab@suse.de> * emacs-lisp/syntax.el (syntax-ppss): Doc fix. @@ -7,9 +11,9 @@ * mail/footnote.el: Remove * in defcustom docstrings and tell for most options that customizing them doesn't affect buffers already displaying footnotes. - (Footnote-refresh-footnotes, Footnote-renumber-footnotes): Fix - handling of text properties and identical start/end tags. Do - not use format when renumbering. + (Footnote-refresh-footnotes, Footnote-renumber-footnotes): + Fix handling of text properties and identical start/end tags. + Do not use format when renumbering. (Footnote-set-style): Make it work. (Footnote-insert-numbered-footnote): Simplify. (Footnote-narrow-to-footnotes, Footnote-insert-footnote) @@ -214,9 +218,9 @@ * calc/calc-units.el (math-standard-units): Add entries used to display the the values in the units buffer. - (math-build-units-table): Add entries to the units table to be used + (math-build-units-table): Add entries to the units table to be used to display the values in the units buffer. - (math-build-units-table-buffer): Use the display entry of the units + (math-build-units-table-buffer): Use the display entry of the units table when non-nil. (calc-define-unit): Add option to enter display value of unit. 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'." (add-hook 'kill-emacs-hook 'bookmark-exit-hook-internal) +(defun bookmark-unload-function () + "Unload the Bookmark library." + (when bookmark-save-flag (bookmark-save)) + ;; continue standard unloading + nil) + (run-hooks 'bookmark-load-hook) |
