comparison lisp/progmodes/icon.el @ 660:08eb386dd0f3

*** empty log message ***
author Eric S. Raymond <esr@snark.thyrsus.com>
date Sat, 30 May 1992 23:12:08 +0000
parents 01cbfdd59f82
children 4f28bd14272c
comparison
equal deleted inserted replaced
659:505130d1ddf8 660:08eb386dd0f3
1 ;;; icon.el --- mode for editing Icon code
2
1 ;; Note: use 3 ;; Note: use
2 ;; (autoload 'icon-mode "icon" nil t) 4 ;; (autoload 'icon-mode "icon" nil t)
3 ;; (setq auto-mode-alist (cons '("\\.icn$" . icon-mode) auto-mode-alist)) 5 ;; (setq auto-mode-alist (cons '("\\.icn$" . icon-mode) auto-mode-alist))
4 ;; if not permanently installed in your emacs 6 ;; if not permanently installed in your emacs
5 7
545 ;; Indent any comment following the text. 547 ;; Indent any comment following the text.
546 (or (looking-at comment-start-skip) 548 (or (looking-at comment-start-skip)
547 (if (re-search-forward comment-start-skip (save-excursion (end-of-line) (point)) t) 549 (if (re-search-forward comment-start-skip (save-excursion (end-of-line) (point)) t)
548 (progn (indent-for-comment) (beginning-of-line)))))))))) 550 (progn (indent-for-comment) (beginning-of-line))))))))))
549 551
552 ;;; icon.el ends here