X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=lisp%2Fview-less.el;h=28c14bede76cdff5db87722b49eac2d50930fabf;hb=9d8a77fdb552f8536512e3b84edb298f4b37c7f8;hp=005b80b396c8a102040456bcbf476517b280bfc4;hpb=6883ee56ec887c2c48abe5b06b5e66aa74031910;p=chise%2Fxemacs-chise.git diff --git a/lisp/view-less.el b/lisp/view-less.el index 005b80b..28c14be 100644 --- a/lisp/view-less.el +++ b/lisp/view-less.el @@ -148,6 +148,7 @@ "\\\\[scroll-up] = page forward; \\[scroll-down] = page back; \ \\[view-mode-describe] = help; \\[view-quit] = quit."))) +(defvar view-major-mode) (defvar view-exit-position) (defvar view-prev-buffer) (defvar view-exit-action) @@ -311,6 +312,7 @@ as a modified buffer. This works even if the buffer is read-only." ;; #### - THIS IS PROBABLY A REALLY DANGEROUS THING TO DO IN A MINOR MODE!! (set-buffer-modified-p buf-mod))) +;;;###autoload (defun toggle-truncate-lines (&optional p) "Toggles the values of truncate-lines. Positive prefix arg sets, negative disables."