aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Love2000-07-13 17:23:28 +0000
committerDave Love2000-07-13 17:23:28 +0000
commita8189dfe47ec8bd3e8f7e453e7e03c88695811bd (patch)
tree59b50395e9fbfbcd7f488cbf315f6ca41393bbb6
parentd04a3972bf11e44110b07b6fe5cb5bc7006e3345 (diff)
downloademacs-a8189dfe47ec8bd3e8f7e453e7e03c88695811bd.tar.gz
emacs-a8189dfe47ec8bd3e8f7e453e7e03c88695811bd.zip
(fortran-imenu-generic-expression): Change definition layout.
(fortran-mode-menu): Reinstate customize entries.
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/progmodes/fortran.el38
2 files changed, 24 insertions, 18 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index b4a951adedf..456cd09738e 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,9 @@
12000-07-13 Dave Love <fx@gnu.org> 12000-07-13 Dave Love <fx@gnu.org>
2 2
3 * progmodes/fortran.el (fortran-imenu-generic-expression): Change
4 definition layout.
5 (fortran-mode-menu): Reinstate customize entries.
6
3 * cus-edit.el (custom-group-menu-create, customize-menu-create): 7 * cus-edit.el (custom-group-menu-create, customize-menu-create):
4 Use :filter, per old XEmacs code. 8 Use :filter, per old XEmacs code.
5 9
diff --git a/lisp/progmodes/fortran.el b/lisp/progmodes/fortran.el
index fe1850cddaa..706817e970e 100644
--- a/lisp/progmodes/fortran.el
+++ b/lisp/progmodes/fortran.el
@@ -378,17 +378,19 @@ These get fixed-format comments fontified.")
378 (list 378 (list
379 (list 379 (list
380 nil 380 nil
381 ;; Lines below are: 1. leading whitespace; 2. function 381 ;; [This will be fooled by `end function' allowed by G77. Also,
382 ;; declaration with optional type, e.g. `real', `real*4', 382 ;; it assumes sensible whitespace is employed.]
383 ;; character(*), `double precision' and possible statement 383 (concat
384 ;; continuation; 3. untyped declarations; 4. the variable to 384 ;; leading whitespace:
385 ;; index. [This will be fooled by `end function' allowed by G77. 385 "^\\s-+\\("
386 ;; Also, it assumes sensible whitespace is employed.] 386 ;; function declaration with optional type, e.g. `real',
387 (concat "^\\s-+\\(\ 387 ;; `real*4', character(*), `double precision':
388\\(\\sw\\|\\s-\\|[*()+]\\)*\ 388 "\\(\\sw\\|\\s-\\|[*()+]\\)*"
389\\<function\\|subroutine\\|entry\\|block\\s-*data\\|program\\)\ 389 "\\<function\\|subroutine\\|entry\\|block\\s-*data\\|program\\)"
390[ \t" fortran-continuation-string "]+\ 390 ;; Possible statement continuation:
391\\(\\sw+\\)") 391 "[ \t" fortran-continuation-string "]+"
392 ;; Variable to index:
393 "\\(\\sw+\\)")
392 3) 394 3)
393 ;; Un-named block data 395 ;; Un-named block data
394 (list nil "^\\s-+\\(block\\s-*data\\)\\s-*$" 1)) 396 (list nil "^\\s-+\\(block\\s-*data\\)\\s-*$" 1))
@@ -424,13 +426,13 @@ These get fixed-format comments fontified.")
424 fortran-mode-menu map "" 426 fortran-mode-menu map ""
425 `("Fortran" 427 `("Fortran"
426 ["Manual" (info "(emacs)Fortran")] 428 ["Manual" (info "(emacs)Fortran")]
427;;; This loads cus-edit as things stand -- needs to be done lazily. 429 ["Customize" :filter (lambda (&rest junk)
428;;; ,(customize-menu-create 'fortran) 430 (cdr (custom-menu-create 'fortran)))]
429;;; ["Set" Custom-set t] 431 ["Set" Custom-set t]
430;;; ["Save" Custom-save t] 432 ["Save" Custom-save t]
431;;; ["Reset to Current" Custom-reset-current t] 433 ["Reset to Current" Custom-reset-current t]
432;;; ["Reset to Saved" Custom-reset-saved t] 434 ["Reset to Saved" Custom-reset-saved t]
433;;; ["Reset to Standard Settings" Custom-reset-standard t] 435 ["Reset to Standard Settings" Custom-reset-standard t]
434 "----" 436 "----"
435 ["Toggle Auto-fill" fortran-auto-fill-mode :style toggle 437 ["Toggle Auto-fill" fortran-auto-fill-mode :style toggle
436 :selected (eq auto-fill-function 'fortran-auto-fill)] 438 :selected (eq auto-fill-function 'fortran-auto-fill)]