aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/textmodes
diff options
context:
space:
mode:
authorRichard M. Stallman1997-04-13 07:51:54 +0000
committerRichard M. Stallman1997-04-13 07:51:54 +0000
commit00ed33e7ab1f430e43aeff27c3aa767590b2207e (patch)
treec0cb9b1be105cea21a951f8a31a5a654feeb62c8 /lisp/textmodes
parentd61140e89d8800ae17aef48fe5d97941ad005a87 (diff)
downloademacs-00ed33e7ab1f430e43aeff27c3aa767590b2207e.tar.gz
emacs-00ed33e7ab1f430e43aeff27c3aa767590b2207e.zip
Add defgroup; use defcustom for user vars.
Diffstat (limited to 'lisp/textmodes')
-rw-r--r--lisp/textmodes/page-ext.el53
1 files changed, 36 insertions, 17 deletions
diff --git a/lisp/textmodes/page-ext.el b/lisp/textmodes/page-ext.el
index bc5e971b141..2718aea094b 100644
--- a/lisp/textmodes/page-ext.el
+++ b/lisp/textmodes/page-ext.el
@@ -235,30 +235,49 @@
235 235
236;;; Customarily customizable variable definitions 236;;; Customarily customizable variable definitions
237 237
238(defvar pages-directory-buffer-narrowing-p t 238(defgroup pages nil
239 "*If non-nil, `pages-directory-goto' narrows pages buffer to entry.") 239 "Extended page-handling commands."
240 :group 'extensions)
240 241
241(defvar pages-directory-for-adding-page-narrowing-p t
242 "*If non-nil, `add-new-page' narrows page buffer to new entry.")
243 242
244(defvar pages-directory-for-adding-new-page-before-current-page-p t 243(defcustom pages-directory-buffer-narrowing-p t
245 "*If non-nil, `add-new-page' inserts new page before current page.") 244 "*If non-nil, `pages-directory-goto' narrows pages buffer to entry."
245 :type 'boolean
246 :group 'pages)
247
248(defcustom pages-directory-for-adding-page-narrowing-p t
249 "*If non-nil, `add-new-page' narrows page buffer to new entry."
250 :type 'boolean
251 :group 'pages)
252
253(defcustom pages-directory-for-adding-new-page-before-current-page-p t
254 "*If non-nil, `add-new-page' inserts new page before current page."
255 :type 'boolean
256 :group 'pages)
246 257
247 258
248;;; Addresses related variables 259;;; Addresses related variables
249 260
250(defvar pages-addresses-file-name "~/addresses" 261(defcustom pages-addresses-file-name "~/addresses"
251 "*Standard name for file of addresses. Entries separated by page-delimiter. 262 "*Standard name for file of addresses. Entries separated by page-delimiter.
252Used by `pages-directory-for-addresses' function.") 263Used by `pages-directory-for-addresses' function."
253 264 :type 'file
254(defvar pages-directory-for-addresses-goto-narrowing-p t 265 :group 'pages)
255 "*If non-nil, `pages-directory-goto' narrows addresses buffer to entry.") 266
256 267(defcustom pages-directory-for-addresses-goto-narrowing-p t
257(defvar pages-directory-for-addresses-buffer-keep-windows-p t 268 "*If non-nil, `pages-directory-goto' narrows addresses buffer to entry."
258 "*If nil, `pages-directory-for-addresses' deletes other windows.") 269 :type 'boolean
259 270 :group 'pages)
260(defvar pages-directory-for-adding-addresses-narrowing-p t 271
261 "*If non-nil, `add-new-page' narrows addresses buffer to new entry.") 272(defcustom pages-directory-for-addresses-buffer-keep-windows-p t
273 "*If nil, `pages-directory-for-addresses' deletes other windows."
274 :type 'boolean
275 :group 'pages)
276
277(defcustom pages-directory-for-adding-addresses-narrowing-p t
278 "*If non-nil, `add-new-page' narrows addresses buffer to new entry."
279 :type 'boolean
280 :group 'pages)
262 281
263 282
264;;; Key bindings for page handling functions 283;;; Key bindings for page handling functions