1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-23 07:19:15 +00:00

(longlines-unload-function): New function.

This commit is contained in:
Juanma Barranquero 2008-02-28 23:41:52 +00:00
parent 79b1c79cc2
commit c172e10123

View File

@ -482,6 +482,17 @@ This is called by `window-configuration-change-hook'."
(list 'longlines "Automatically wrap long lines." nil nil
'longlines-encode-region t nil))
;; Unloading
(defun longlines-unload-function ()
"Unload the longlines library."
(save-current-buffer
(dolist (buffer (buffer-list))
(set-buffer buffer)
(longlines-mode-off)))
;; continue standard unloading
nil)
(provide 'longlines)
;; arch-tag: 3489d225-5506-47b9-8659-d8807b77c624