comparison lisp/view-less.el @ 398:74fd4e045ea6 r21-2-29

Import from CVS: tag r21-2-29
author cvs
date Mon, 13 Aug 2007 11:13:30 +0200
parents 8626e4521993
children
comparison
equal deleted inserted replaced
397:f4aeb21a5bad 398:74fd4e045ea6
310 (buf-mod (buffer-modified-p))) 310 (buf-mod (buffer-modified-p)))
311 (cleanup-backspaces) 311 (cleanup-backspaces)
312 ;; #### - THIS IS PROBABLY A REALLY DANGEROUS THING TO DO IN A MINOR MODE!! 312 ;; #### - THIS IS PROBABLY A REALLY DANGEROUS THING TO DO IN A MINOR MODE!!
313 (set-buffer-modified-p buf-mod))) 313 (set-buffer-modified-p buf-mod)))
314 314
315 ;;;###autoload
315 (defun toggle-truncate-lines (&optional p) 316 (defun toggle-truncate-lines (&optional p)
316 "Toggles the values of truncate-lines. 317 "Toggles the values of truncate-lines.
317 Positive prefix arg sets, negative disables." 318 Positive prefix arg sets, negative disables."
318 (interactive "P") 319 (interactive "P")
319 (setq truncate-lines (if p 320 (setq truncate-lines (if p