diff options
| author | Chong Yidong | 2012-09-07 16:58:31 +0800 |
|---|---|---|
| committer | Chong Yidong | 2012-09-07 16:58:31 +0800 |
| commit | e5c2edf79ba2b75a3572839fcb9de612f93ab630 (patch) | |
| tree | 97949328a6fba5bf022572d490a3212148f3bed8 /etc | |
| parent | eddb36a7d58b99e43deadcc808347008fe8a8627 (diff) | |
| download | emacs-e5c2edf79ba2b75a3572839fcb9de612f93ab630.tar.gz emacs-e5c2edf79ba2b75a3572839fcb9de612f93ab630.zip | |
Add a utility function buffer-narrowed-p, and use it.
* lisp/subr.el (buffer-narrowed-p): New function.
* lisp/ses.el (ses-widen):
* lisp/simple.el (count-words--buffer-message):
* lisp/net/browse-url.el (browse-url-of-buffer): Use it
* lisp/simple.el (count-words-region): Don't signal an error if there
is a non-nil prefix arg and the mark is not set.
* doc/lispref/positions.texi (Narrowing): Document buffer-narrowed-p.
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
| @@ -645,6 +645,9 @@ The interpretation of the DECLS is determined by `defun-declarations-alist'. | |||
| 645 | 645 | ||
| 646 | ** New error type and new function `user-error'. Doesn't trigger the debugger. | 646 | ** New error type and new function `user-error'. Doesn't trigger the debugger. |
| 647 | 647 | ||
| 648 | +++ | ||
| 649 | ** New utility function `buffer-narrowed-p'. | ||
| 650 | |||
| 648 | ** Window changes | 651 | ** Window changes |
| 649 | 652 | ||
| 650 | *** The functions get-lru-window, get-mru-window and get-largest-window | 653 | *** The functions get-lru-window, get-mru-window and get-largest-window |