emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/longlines.el,v


From: Juanma Barranquero
Subject: [Emacs-diffs] Changes to emacs/lisp/longlines.el,v
Date: Thu, 28 Feb 2008 23:41:53 +0000

CVSROOT:        /cvsroot/emacs
Module name:    emacs
Changes by:     Juanma Barranquero <lektu>      08/02/28 23:41:53

Index: longlines.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/longlines.el,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -b -r1.43 -r1.44
--- longlines.el        16 Jan 2008 16:23:00 -0000      1.43
+++ longlines.el        28 Feb 2008 23:41:52 -0000      1.44
@@ -482,6 +482,17 @@
  (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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]