unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* widen-automatically
@ 2005-08-09  8:40 Romain Francoise
  2005-08-11 14:28 ` widen-automatically Richard M. Stallman
  0 siblings, 1 reply; 2+ messages in thread
From: Romain Francoise @ 2005-08-09  8:40 UTC (permalink / raw)


In simple.el we have the following code:

(defvar widen-automatically t
  "Non-nil means it is ok for commands to call `widen' when they want to.
Some commands will do this in order to go to positions outside
the current accessible part of the buffer.

If `widen-automatically' is nil, these commands will do something else
as a fallback, and won't change the buffer bounds.")

(defun pop-global-mark ()
[...]
	(if widen-automatically
	    (error "Global mark position is outside accessible part of buffer")
	  (widen)))

Isn't this test the opposite of what was intended?

-- 
Romain Francoise <romain@orebokech.com> | The world is a fine place,
it's a miracle -- http://orebokech.com/ | and worth fighting for.
                                        | --Ernest Hemingway

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: widen-automatically
  2005-08-09  8:40 widen-automatically Romain Francoise
@ 2005-08-11 14:28 ` Richard M. Stallman
  0 siblings, 0 replies; 2+ messages in thread
From: Richard M. Stallman @ 2005-08-11 14:28 UTC (permalink / raw)
  Cc: emacs-devel

Thanks.  I fixed that.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-08-11 14:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-09  8:40 widen-automatically Romain Francoise
2005-08-11 14:28 ` widen-automatically Richard M. Stallman

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).