@@ -270,7 +270,7 @@ This variable can take one of the following symbol values:
270
270
(const :tag " WordPress" wordpress)
271
271
(const :tag " Symfony2" symfony2)
272
272
(const :tag " PSR-2" psr2))
273
- :initialize 'custom-initialize-default )
273
+ :initialize # 'custom-initialize-default )
274
274
275
275
; ; Since this function has a bad influence on the environment of many users,
276
276
; ; temporarily disable it
@@ -337,31 +337,31 @@ as a function. Call with AS-NUMBER keyword to compare by `version<'.
337
337
; ;
338
338
; ; Changing the default to mark-defun provides behavior that users
339
339
; ; are more likely to expect.
340
- (define-key map (kbd " C-M-h" ) 'mark-defun )
340
+ (define-key map (kbd " C-M-h" ) # 'mark-defun )
341
341
342
342
; ; Many packages based on cc-mode provide the 'C-c C-w' binding
343
343
; ; to toggle Subword Mode. See the page
344
344
; ;
345
345
; ; https://www.gnu.org/software/emacs/manual/html_node/ccmode/Subword-Movement.html
346
346
; ;
347
347
; ; for more information about Subword mode.
348
- (define-key map (kbd " C-c C-w" ) 'subword-mode )
348
+ (define-key map (kbd " C-c C-w" ) # 'subword-mode )
349
349
350
350
; ; We inherit c-beginning-of-defun and c-end-of-defun from CC Mode
351
351
; ; but we have two replacement functions specifically for PHP. We
352
352
; ; remap the commands themselves and not their default
353
353
; ; key-bindings so that our PHP-specific versions will work even
354
354
; ; if the user has reconfigured their keys, e.g. if they rebind
355
355
; ; c-end-of-defun to something other than C-M-e.
356
- (define-key map [remap c-beginning-of-defun] 'php-beginning-of-defun )
357
- (define-key map [remap c-end-of-defun] 'php-end-of-defun )
358
- (define-key map [remap c-set-style] 'php-set-style )
359
-
360
- (define-key map [(control c) (control f)] 'php-search-documentation )
361
- (define-key map [(meta tab)] 'php-complete-function )
362
- (define-key map [(control c) (control m)] 'php-browse-manual )
363
- (define-key map [(control .)] 'php-show-arglist )
364
- (define-key map [(control c) (control r)] 'php-send-region )
356
+ (define-key map [remap c-beginning-of-defun] # 'php-beginning-of-defun )
357
+ (define-key map [remap c-end-of-defun] # 'php-end-of-defun )
358
+ (define-key map [remap c-set-style] # 'php-set-style )
359
+
360
+ (define-key map [(control c) (control f)] # 'php-search-documentation )
361
+ (define-key map [(meta tab)] # 'php-complete-function )
362
+ (define-key map [(control c) (control m)] # 'php-browse-manual )
363
+ (define-key map [(control .)] # 'php-show-arglist )
364
+ (define-key map [(control c) (control r)] # 'php-send-region )
365
365
; ; Use the Emacs standard indentation binding. This may upset c-mode
366
366
; ; which does not follow this at the moment, but I see no better
367
367
; ; choice.
@@ -842,12 +842,12 @@ plain `php-mode'. To get indentation to work you must use an
842
842
Emacs library that supports 'multiple major modes' in a buffer.
843
843
Parts of the buffer will then be in `php-mode' and parts in for
844
844
example `html-mode' . Known such libraries are:\n\t "
845
- (mapconcat 'identity known-names " , " )
845
+ (mapconcat # 'identity known-names " , " )
846
846
" \n "
847
847
(if available-multi-libs
848
848
(concat
849
849
" You have these available in your `load-path' :\n\t "
850
- (mapconcat 'identity available-names " , " )
850
+ (mapconcat # 'identity available-names " , " )
851
851
" \n\n "
852
852
" Do you want to turn any of those on? " )
853
853
" You do not have any of those in your `load-path' ." )))
@@ -1230,8 +1230,8 @@ After setting the stylevars run hooks according to STYLENAME
1230
1230
(string-match " \\ .php\\ '" buffer-file-name)))
1231
1231
(php-set-style " pear" ))
1232
1232
1233
- (setq indent-line-function 'php-cautious-indent-line )
1234
- (setq indent-region-function 'php-cautious-indent-region )
1233
+ (setq indent-line-function # 'php-cautious-indent-line )
1234
+ (setq indent-region-function # 'php-cautious-indent-region )
1235
1235
(setq c-at-vsemi-p-fn #'php-c-at-vsemi-p )
1236
1236
(setq c-vsemi-status-unknown-p-fn #'php-c-vsemi-status-unknown-p )
1237
1237
@@ -1241,8 +1241,8 @@ After setting the stylevars run hooks according to STYLENAME
1241
1241
; ; following two local variables, but we keep them for now until we
1242
1242
; ; are completely sure their removal will not break any current
1243
1243
; ; behavior or backwards compatibility.
1244
- (setq-local beginning-of-defun-function 'php-beginning-of-defun )
1245
- (setq-local end-of-defun-function 'php-end-of-defun )
1244
+ (setq-local beginning-of-defun-function # 'php-beginning-of-defun )
1245
+ (setq-local end-of-defun-function # 'php-end-of-defun )
1246
1246
1247
1247
(setq-local open-paren-in-column-0-is-defun-start nil )
1248
1248
(setq-local defun-prompt-regexp
0 commit comments