X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/e2ae1c5a40e2802fcd9f5ee26b4906be97c8b878..44caa96dc5c16cbc4ee1bb26ec880af2e2ecf9f8:/lisp/outline.el diff --git a/lisp/outline.el b/lisp/outline.el index 059ca62658..2001cdf27b 100644 --- a/lisp/outline.el +++ b/lisp/outline.el @@ -1,6 +1,6 @@ ;;; outline.el --- outline mode commands for Emacs -;; Copyright (C) 1986, 1993-1995, 1997, 2000-2015 Free Software +;; Copyright (C) 1986, 1993-1995, 1997, 2000-2016 Free Software ;; Foundation, Inc. ;; Maintainer: emacs-devel@gnu.org @@ -338,7 +338,7 @@ numbered and unnumbered sections), list them set by set and sorted by level within each set. For example in texinfo mode: (setq outline-heading-alist - '((\"@chapter\" . 2) (\"@section\" . 3) (\"@subsection\" . 4) + \\='((\"@chapter\" . 2) (\"@section\" . 3) (\"@subsection\" . 4) (\"@subsubsection\" . 5) (\"@unnumbered\" . 2) (\"@unnumberedsec\" . 3) (\"@unnumberedsubsec\" . 4) (\"@unnumberedsubsubsec\" . 5) @@ -449,8 +449,8 @@ Otherwise, it will be one level below." ;; Why bother checking that it is indeed higher/lower level ? new-head ;; Didn't work, so ask what to do. - (read-string (format "%s heading for `%s': " - (if up "Parent" "Demoted") head) + (read-string (format-message "%s heading for `%s': " + (if up "Parent" "Demoted") head) head nil nil t))))) (defun outline-promote (&optional which)