X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/67ab0163d67fbfeb41c37c8a259f27eeef965520..08974112ae68aefba658a8516c8faa3374edc924:/lisp/makesum.el diff --git a/lisp/makesum.el b/lisp/makesum.el index c392f19016..a65e5ae86d 100644 --- a/lisp/makesum.el +++ b/lisp/makesum.el @@ -1,8 +1,8 @@ ;;; makesum.el --- generate key binding summary for Emacs -;; Copyright (C) 1985, 2001-2011 Free Software Foundation, Inc. +;; Copyright (C) 1985, 2001-2016 Free Software Foundation, Inc. -;; Maintainer: FSF +;; Maintainer: emacs-devel@gnu.org ;; Keywords: help ;; This file is part of GNU Emacs. @@ -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)