aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/skeleton.el52
1 files changed, 26 insertions, 26 deletions
diff --git a/lisp/skeleton.el b/lisp/skeleton.el
index 399aead1dba..317410b6219 100644
--- a/lisp/skeleton.el
+++ b/lisp/skeleton.el
@@ -382,32 +382,32 @@ automatically, and you are prompted to fill in the variable parts.")))
382 382
383;; Maybe belongs into simple.el or elsewhere 383;; Maybe belongs into simple.el or elsewhere
384 384
385(define-skeleton local-variables-section 385;;;(define-skeleton local-variables-section
386 "Insert a local variables section. Use current comment syntax if any." 386;;; "Insert a local variables section. Use current comment syntax if any."
387 () 387;;; ()
388 '(save-excursion 388;;; '(save-excursion
389 (if (re-search-forward page-delimiter nil t) 389;;; (if (re-search-forward page-delimiter nil t)
390 (error "Not on last page."))) 390;;; (error "Not on last page.")))
391 comment-start "Local Variables:" comment-end \n 391;;; comment-start "Local Variables:" comment-end \n
392 comment-start "mode: " 392;;; comment-start "mode: "
393 (completing-read "Mode: " obarray 393;;; (completing-read "Mode: " obarray
394 (lambda (symbol) 394;;; (lambda (symbol)
395 (if (commandp symbol) 395;;; (if (commandp symbol)
396 (string-match "-mode$" (symbol-name symbol)))) 396;;; (string-match "-mode$" (symbol-name symbol))))
397 t) 397;;; t)
398 & -5 | '(kill-line 0) & -1 | comment-end \n 398;;; & -5 | '(kill-line 0) & -1 | comment-end \n
399 ( (completing-read (format "Variable, %s: " skeleton-subprompt) 399;;; ( (completing-read (format "Variable, %s: " skeleton-subprompt)
400 obarray 400;;; obarray
401 (lambda (symbol) 401;;; (lambda (symbol)
402 (or (eq symbol 'eval) 402;;; (or (eq symbol 'eval)
403 (user-variable-p symbol))) 403;;; (user-variable-p symbol)))
404 t) 404;;; t)
405 comment-start str ": " 405;;; comment-start str ": "
406 (read-from-minibuffer "Expression: " nil read-expression-map nil 406;;; (read-from-minibuffer "Expression: " nil read-expression-map nil
407 'read-expression-history) | _ 407;;; 'read-expression-history) | _
408 comment-end \n) 408;;; comment-end \n)
409 resume: 409;;; resume:
410 comment-start "End:" comment-end) 410;;; comment-start "End:" comment-end)
411 411
412;; Variables and command for automatically inserting pairs like () or "". 412;; Variables and command for automatically inserting pairs like () or "".
413 413