X-Git-Url: https://git.hcoop.net/bpt/emacs.git/blobdiff_plain/233ba4d924933cb56129bd7511e6137b7c0b8e3e..1b3b87dfe0fae8e5266319531c0a874c8b4313b1:/lisp/makesum.el diff --git a/lisp/makesum.el b/lisp/makesum.el index c392f19016..3129176d5f 100644 --- a/lisp/makesum.el +++ b/lisp/makesum.el @@ -1,6 +1,6 @@ ;;; makesum.el --- generate key binding summary for Emacs -;; Copyright (C) 1985, 2001-2011 Free Software Foundation, Inc. +;; Copyright (C) 1985, 2001-2013 Free Software Foundation, Inc. ;; Maintainer: FSF ;; Keywords: help @@ -85,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)