X-Git-Url: http://git.hcoop.net/bpt/emacs.git/blobdiff_plain/d52969e8afaa19ed1acc01f4ff0bb651bf7869a7..34dc21db6e57ebbad81a196002fcd3cc557f096e:/lisp/makesum.el diff --git a/lisp/makesum.el b/lisp/makesum.el index f4b647eed3..a52f18c71c 100644 --- a/lisp/makesum.el +++ b/lisp/makesum.el @@ -1,9 +1,8 @@ ;;; makesum.el --- generate key binding summary for Emacs -;; Copyright (C) 1985, 2001, 2002, 2003, 2004, 2005, -;; 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc. +;; Copyright (C) 1985, 2001-2014 Free Software Foundation, Inc. -;; Maintainer: FSF +;; Maintainer: emacs-devel@gnu.org ;; Keywords: help ;; This file is part of GNU Emacs. @@ -86,8 +85,7 @@ Previous contents of that buffer are killed first." (defun double-column (start end) (interactive "r") - (let (half cnt - line lines nlines + (let (half line lines nlines (from-end (- (point-max) end))) (setq nlines (count-lines start end)) (if (<= nlines 1)